Added completion support for git-branch.exe.
On Cygwin a user might complete the new git-branch builtin as git-branch.exe, at which point bash requires a new completion registration for the command. Signed-off-by: Shawn O. Pearce <spearce@spearce.org> Signed-off-by: Junio C Hamano <junkio@cox.net>
Shawn O. Pearce committed
Nov 4, 2006 at 13:57 UTC
dfb960920d4953066cb0cdf3cb6dd8a5a8d9cf14
1 file changed
+1
contrib/completion/git-completion.bash
+1
@@ -339,6 +339,7 @@ complete -o default -o nospace -F _git_log git-whatchanged
339
# when the user has tab-completed the executable name and consequently
340
# included the '.exe' suffix.
341
#
342
+complete -o default -F _git_branch git-branch.exe
343
complete -o default -o nospace -F _git_cat_file git-cat-file.exe
344
complete -o default -o nospace -F _git_diff git-diff.exe
345
complete -o default -o nospace -F _git_diff_tree git-diff-tree.exe