git-completion.bash: use correct Bash/Zsh array length syntax
authorBrandon Casey <redacted>
Wed, 21 Aug 2013 20:49:31 +0000 (13:49 -0700)
committerJunio C Hamano <redacted>
Wed, 21 Aug 2013 23:38:47 +0000 (16:38 -0700)
commit5d5812f492dbc1adac718a69d225396620b463fd
treeca0f8782dcba33d885a12e774bcce0851e4839a6
parent4d06473928ee574910accbde05c19ef2263abdf6
git-completion.bash: use correct Bash/Zsh array length syntax

The syntax for retrieving the number of elements in an array is:

   ${#name[@]}

Signed-off-by: Brandon Casey <redacted>
Signed-off-by: Junio C Hamano <redacted>
contrib/completion/git-completion.bash
git clone https://git.99rst.org/PROJECT