Skip to content

Commit 04308e9

Browse files
carlosmngitster
authored andcommitted
completion: add --set-upstream-to and --unset-upstream
Remove --set-upstream as it's deprecated now. Signed-off-by: Carlos Martín Nieto <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent b347d06 commit 04308e9

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

contrib/completion/git-completion.bash

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -879,7 +879,8 @@ _git_branch ()
879879
__gitcomp "
880880
--color --no-color --verbose --abbrev= --no-abbrev
881881
--track --no-track --contains --merged --no-merged
882-
--set-upstream --edit-description --list
882+
--set-upstream-to= --edit-description --list
883+
--unset-upstream
883884
"
884885
;;
885886
*)

0 commit comments

Comments
 (0)