git-completion.bash: replace zsh notation that breaks bash 3.X
authorBrandon Casey <drafnel@gmail.com>
Fri, 18 Jan 2013 19:24:01 +0000 (11:24 -0800)
committerJunio C Hamano <gitster@pobox.com>
Fri, 18 Jan 2013 20:16:38 +0000 (12:16 -0800)
commit50c5885e0532bbe0d3fdd1632767e7cc6ae30442
tree4cb35099ab3e0f83c7fcec2a663d016685576f40
parente4f59a32de3f90ff5aabc09b9da6bd5818c5076b
git-completion.bash: replace zsh notation that breaks bash 3.X

When commit d8b45314 began separating the zsh completion from the bash
completion, it introduced a zsh completion "bridge" section into the bash
completion script for zsh users to use until they migrated to the zsh
script.  The zsh '+=()' append-to-array notation prevents bash 3.00.15 on
CentOS 4.x from loading the completion script and breaks test 9902.  We can
easily work around this by using standard Bash array notation.

Signed-off-by: Brandon Casey <drafnel@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
contrib/completion/git-completion.bash