Code

completion: --set-upstream option for git-branch
authorMichael J Gruber <git@drmicha.warpmail.net>
Wed, 26 May 2010 08:46:41 +0000 (10:46 +0200)
committerJunio C Hamano <gitster@pobox.com>
Fri, 28 May 2010 22:05:53 +0000 (15:05 -0700)
Signed-off-by: Michael J Gruber <git@drmicha.warpmail.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
contrib/completion/git-completion.bash

index 545bd4b38368e3c2a3958133bbeef6a19e831fff..57245a8c01fa3aba4f9e3f2bc258b40f38f446c0 100755 (executable)
@@ -797,6 +797,7 @@ _git_branch ()
                __gitcomp "
                        --color --no-color --verbose --abbrev= --no-abbrev
                        --track --no-track --contains --merged --no-merged
+                       --set-upstream
                        "
                ;;
        *)