summaryrefslogtreecommitdiff
path: root/contrib/completion
diff options
context:
space:
mode:
authorLibravatar Matt Kraai <kraai@ftbfs.org>2009-02-12 07:55:54 -0800
committerLibravatar Junio C Hamano <gitster@pobox.com>2009-02-13 09:55:45 -0800
commit901d615c5d74bea20e0c8d7fcdf7585616306b79 (patch)
treec02141b4b4b2d4bdd162256b1e7afda012697a19 /contrib/completion
parentInstall the default "master" branch configuration after cloning a void (diff)
downloadtgif-901d615c5d74bea20e0c8d7fcdf7585616306b79.tar.xz
bash-completion: Complete the values of color.interactive, color.ui, color.pager
Signed-off-by: Matt Kraai <kraai@ftbfs.org> Acked-by: Shawn O. Pearce <spearce@spearce.org> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'contrib/completion')
-rwxr-xr-xcontrib/completion/git-completion.bash6
1 files changed, 5 insertions, 1 deletions
diff --git a/contrib/completion/git-completion.bash b/contrib/completion/git-completion.bash
index f44f63cfeb..a7a10c0d79 100755
--- a/contrib/completion/git-completion.bash
+++ b/contrib/completion/git-completion.bash
@@ -1196,10 +1196,14 @@ _git_config ()
__gitcomp "$(__git_merge_strategies)"
return
;;
- color.branch|color.diff|color.status)
+ color.branch|color.diff|color.interactive|color.status|color.ui)
__gitcomp "always never auto"
return
;;
+ color.pager)
+ __gitcomp "false true"
+ return
+ ;;
color.*.*)
__gitcomp "
normal black red green yellow blue magenta cyan white