completion: synchronize zsh wrapper

So it's closer to the full zsh wrapper. Signed-off-by: Felipe Contreras <felipe.contreras@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>

Felipe Contreras committed May 8, 2013 at 02:37 UTC 734b2f0532d847a9f566183982f83ddea8d8d197
1 file changed +2 -2
contrib/completion/git-completion.bash
+2 -2
@@ -2663,7 +2663,7 @@ if [[ -n ${ZSH_VERSION-} ]]; then
2663 --*=*|*.) ;;
2664 *) c="$c " ;;
2665 esac
2666 - array[$#array+1]="$c"
2666 + array+=("$c")
2667 done
2668 compset -P '*[=:]'
2669 compadd -Q -S '' -p "${2-}" -a -- array && _ret=0
@@ -2696,7 +2696,7 @@ if [[ -n ${ZSH_VERSION-} ]]; then
2696 prev=${words[CURRENT-1]}
2697 let cword=CURRENT-1
2698 emulate ksh -c __${service}_main
2699 - let _ret && _default -S '' && _ret=0
2699 + let _ret && _default && _ret=0
2700 return _ret
2701 }
2702