Merge branch 'jk/cat-file-batch-optim'
[gitweb.git] / contrib / completion / git-completion.bash
index cd509a5d63922e05d5c2f5239a8acdd7baab3047..32d1b45c7e9bbfc721581f97ae4ca88bc2e0b6e9 100644 (file)
@@ -2581,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