Merge branch 'jk/no-null-sha1-in-cache-tree'
[gitweb.git] / contrib / completion / git-completion.bash
index f977b54d8d1f92e9a4e189889ccc288f4d3a4b76..af658995d55025418c94061842f8d84809b27ef0 100644 (file)
@@ -717,6 +717,7 @@ __git_complete_remote_or_refspec ()
                i="${words[c]}"
                case "$i" in
                --mirror) [ "$cmd" = "push" ] && no_complete_refspec=1 ;;
+               -d|--delete) [ "$cmd" = "push" ] && lhs=0 ;;
                --all)
                        case "$cmd" in
                        push) no_complete_refspec=1 ;;