summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: ab07ba2)
raw | patch | inline | side by side (parent: ab07ba2)
author | Markus Heidelberg <markus.heidelberg@web.de> | |
Sat, 25 Apr 2009 11:46:14 +0000 (13:46 +0200) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Sat, 25 Apr 2009 15:47:03 +0000 (08:47 -0700) |
This implements completion of --color and --no-color for "git
show-branch" and color.showbranch for "git config".
Signed-off-by: Markus Heidelberg <markus.heidelberg@web.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
show-branch" and color.showbranch for "git config".
Signed-off-by: Markus Heidelberg <markus.heidelberg@web.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
contrib/completion/git-completion.bash | patch | blob | history |
index 1a90cb87f58b9595c3399793c26791557c9704f9..b5883872628f8ffa3972e7a082d0a62c12037845 100755 (executable)
__gitcomp "$(__git_merge_strategies)"
return
;;
- color.branch|color.diff|color.interactive|color.status|color.ui)
+ color.branch|color.diff|color.interactive|\
+ color.showbranch|color.status|color.ui)
__gitcomp "always never auto"
return
;;
color.interactive.help
color.interactive.prompt
color.pager
+ color.showbranch
color.status
color.status.added
color.status.changed
__gitcomp "
--all --remotes --topo-order --current --more=
--list --independent --merge-base --no-name
+ --color --no-color
--sha1-name --topics --reflog
"
return