Code

bash-completion: Complete the values of color.interactive, color.ui, color.pager
authorMatt Kraai <kraai@ftbfs.org>
Thu, 12 Feb 2009 15:55:54 +0000 (07:55 -0800)
committerJunio C Hamano <gitster@pobox.com>
Fri, 13 Feb 2009 17:55:45 +0000 (09:55 -0800)
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>
contrib/completion/git-completion.bash

index f44f63cfebf68f773dd96bd82317801d468f6cff..a7a10c0d797792f52ff0805a9f7bb19429f2f4d5 100755 (executable)
@@ -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