]> git.ipfire.org Git - thirdparty/git.git/blobdiff - contrib/completion/git-completion.bash
Merge branch 'jk/complete-branch-force-delete'
[thirdparty/git.git] / contrib / completion / git-completion.bash
index 4b1f4264a64e6d8bf4c09fae8573f86726f5cad1..7dc6cd8eb8381d66a75e443970adb768befe866c 100644 (file)
@@ -1447,8 +1447,10 @@ _git_branch ()
        while [ $c -lt $cword ]; do
                i="${words[c]}"
                case "$i" in
-               -d|--delete|-m|--move)  only_local_ref="y" ;;
-               -r|--remotes)           has_r="y" ;;
+               -d|-D|--delete|-m|-M|--move|-c|-C|--copy)
+                       only_local_ref="y" ;;
+               -r|--remotes)
+                       has_r="y" ;;
                esac
                ((c++))
        done