Code

completion: add missing config variables
authorStephen Boyd <bebarino@gmail.com>
Tue, 30 Jun 2009 04:24:24 +0000 (21:24 -0700)
committerJunio C Hamano <gitster@pobox.com>
Tue, 30 Jun 2009 18:20:04 +0000 (11:20 -0700)
Update to include branch.*.rebase, remote.*.pushurl, and
add.ignore-errors

Signed-off-by: Stephen Boyd <bebarino@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
contrib/completion/git-completion.bash

index b60cb68a8bd19ddfdce06f136121189b2bad0185..ddb71e26fe8e465dbfa60fa948a01d5ff5c0818b 100755 (executable)
@@ -1457,7 +1457,7 @@ _git_config ()
        branch.*.*)
                local pfx="${cur%.*}."
                cur="${cur##*.}"
-               __gitcomp "remote merge mergeoptions" "$pfx" "$cur"
+               __gitcomp "remote merge mergeoptions rebase" "$pfx" "$cur"
                return
                ;;
        branch.*)
@@ -1504,7 +1504,7 @@ _git_config ()
                cur="${cur##*.}"
                __gitcomp "
                        url proxy fetch push mirror skipDefaultUpdate
-                       receivepack uploadpack tagopt
+                       receivepack uploadpack tagopt pushurl
                        " "$pfx" "$cur"
                return
                ;;
@@ -1522,6 +1522,7 @@ _git_config ()
                ;;
        esac
        __gitcomp "
+               add.ignore-errors
                alias.
                apply.whitespace
                branch.autosetupmerge