git/contrib/completion
Felipe Contreras 1ca6d4bc42 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>
2013-04-29 09:52:06 -07:00
..
git-completion.bash completion: remove duplicate block for "git commit -c" 2013-04-24 16:05:07 -07:00
git-completion.tcsh Merge branch 'mk/tcsh-complete-only-known-paths' 2013-02-08 15:28:51 -08:00
git-completion.zsh complete: zsh: trivial simplification 2013-04-29 09:52:06 -07:00
git-prompt.sh Merge branch 'fc/untracked-zsh-prompt' into maint 2013-04-26 11:12:30 -07:00