completion: add --set-upstream-to and --unset-upstream
authorCarlos Martín Nieto <cmn@elego.de>
Sat, 1 Sep 2012 15:13:10 +0000 (17:13 +0200)
committerJunio C Hamano <gitster@pobox.com>
Tue, 11 Sep 2012 17:02:12 +0000 (10:02 -0700)
Remove --set-upstream as it's deprecated now.

Signed-off-by: Carlos Martín Nieto <cmn@elego.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
contrib/completion/git-completion.bash

index ffedce751c80eac032843f6ecad50246cfc28035..4a4d30af30e61eb41534faf729dc644c781cf957 100644 (file)
@@ -879,7 +879,8 @@ _git_branch ()
                __gitcomp "
                        --color --no-color --verbose --abbrev= --no-abbrev
                        --track --no-track --contains --merged --no-merged
-                       --set-upstream --edit-description --list
+                       --set-upstream-to= --edit-description --list
+                       --unset-upstream
                        "
                ;;
        *)