Merge branch 'as/test-cleanup'
[gitweb.git] / contrib / completion / git-completion.bash
index 7147d64af20f8db8daa65958d68adb0802605303..8c49ce25443c531fb11243d8faf19010a209e970 100644 (file)
@@ -2432,7 +2432,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