diff options
author | Felipe Contreras <felipe.contreras@gmail.com> | 2013-04-27 15:34:05 -0500 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2013-04-29 09:52:06 -0700 |
commit | 1ca6d4bc426435ecb87c6eb7802e83ff0a2f1667 (patch) | |
tree | 0a2f08d885ed1823e6d7e673fedd8079e2911131 /t/t9402-git-cvsserver-refs.sh | |
parent | documentation: trivial whitespace cleanups (diff) | |
download | tgif-1ca6d4bc426435ecb87c6eb7802e83ff0a2f1667.tar.xz |
complete: zsh: trivial simplification
There should be no functional changes.
The only reason I wrapped this code around a sub-function is because zsh
did the same in it's bashcompinit script in order to declare the special
variable 'words' as hidden, but only in this context.
There's no need for that any more since we access __git_main directly,
so 'words' is not modified, so there's no need for the sub-function.
In zsh mode the array indexes are different though.
Signed-off-by: Felipe Contreras <felipe.contreras@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t9402-git-cvsserver-refs.sh')
0 files changed, 0 insertions, 0 deletions