Deactivate command completion on empty lines, to avoid long pause times#657
Merged
dscho merged 3 commits intogit-for-windows:mainfrom Nov 18, 2025
Merged
Deactivate command completion on empty lines, to avoid long pause times#657dscho merged 3 commits intogit-for-windows:mainfrom
dscho merged 3 commits intogit-for-windows:mainfrom
Conversation
When attempting command completion on an empty/blank line, Bash will attempt to resolve all possibilities, which can take several seconds. Worse yet, this is easy to trigger -- accidentally press tab after enter instead of before. So, deactivating by default. Signed-off-by: David Alayachew <davidalayachew@gmail.com>
…ty or blank lines Signed-off-by: David Alayachew <davidalayachew@gmail.com>
Contributor
Author
|
This resolves git-for-windows/git#5289. |
1 task
Member
|
/updpkgsums The workflow run was started. |
Signed-off-by: Matthias Aßhauer <mha1993@live.de>
Member
|
/deploy git-extra The i686/x86_64 and the arm64 workflow runs were started. |
Member
|
/add relnote feature Pressing the Tab key in an empty line in Git Bash no longer causes the session to "freeze". The workflow run was started |
github-actions bot
pushed a commit
that referenced
this pull request
Nov 18, 2025
Pressing the Tab key in an empty line in Git Bash [no longer causes the session to "freeze"](#657). Signed-off-by: gitforwindowshelper[bot] <gitforwindowshelper-bot@users.noreply.github.com>
1 task
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
When attempting command completion on an empty/blank line, Bash will attempt to resolve all possibilities, which can take several seconds. Worse yet, this is easy to trigger -- accidentally press tab after enter instead of before.
So, deactivating by default.