completion: complete --delete, --move, and --remotes for git branch

Signed-off-by: Ville Skyttä <ville.skytta@iki.fi> Signed-off-by: Junio C Hamano <gitster@pobox.com>

Ville Skyttä committed Aug 9, 2016 at 12:34 UTC 2703c22fc290993ade5135f85f0963776398a4df
1 file changed +3 -3
contrib/completion/git-completion.bash
+3 -3
@@ -964,8 +964,8 @@ _git_branch ()
964 while [ $c -lt $cword ]; do
965 i="${words[c]}"
966 case "$i" in
967 - -d|-m) only_local_ref="y" ;;
968 - -r) has_r="y" ;;
967 + -d|--delete|-m|--move) only_local_ref="y" ;;
968 + -r|--remotes) has_r="y" ;;
969 esac
970 ((c++))
971 done
@@ -979,7 +979,7 @@ _git_branch ()
979 --color --no-color --verbose --abbrev= --no-abbrev
980 --track --no-track --contains --merged --no-merged
981 --set-upstream-to= --edit-description --list
982 - --unset-upstream
982 + --unset-upstream --delete --move --remotes
983 "
984 ;;
985 *)