Commit 5d5812f
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 <drafnel@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>1 parent 4d06473 commit 5d5812f
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2580 | 2580 | | |
2581 | 2581 | | |
2582 | 2582 | | |
2583 | | - | |
| 2583 | + | |
2584 | 2584 | | |
2585 | 2585 | | |
2586 | 2586 | | |
| |||
0 commit comments