Merge branch 'jk/cat-file-batch-optim'
[gitweb.git] / contrib / completion / git-completion.bash
index fa3ae1e8535c786dc724ab7a73cccb6f3bfca8de..32d1b45c7e9bbfc721581f97ae4ca88bc2e0b6e9 100644 (file)
@@ -648,6 +648,7 @@ __git_list_porcelain_commands ()
                cat-file)         : plumbing;;
                check-attr)       : plumbing;;
                check-ignore)     : plumbing;;
+               check-mailmap)    : plumbing;;
                check-ref-format) : plumbing;;
                checkout-index)   : plumbing;;
                commit-tree)      : plumbing;;
@@ -2580,7 +2581,7 @@ if [[ -n ${ZSH_VERSION-} ]]; then
                                --*=*|*.) ;;
                                *) c="$c " ;;
                                esac
-                               array+=("$c")
+                               array[$#array+1]="$c"
                        done
                        compset -P '*[=:]'
                        compadd -Q -S '' -p "${2-}" -a -- array && _ret=0