Merge branch 'bc/completion-for-bash-3.0'
[git/git.git] / contrib / completion / git-completion.bash
index cd509a5..32d1b45 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