Re: [PATCH for maint] git-completion: fix zsh support
- From
Junio C Hamano <gitster@pobox.com>
- Date
- May 6, 2011, 04:51 UTC
- Message-ID
- <7v7ha44ej8.fsf@alter.siamese.dyndns.org>
- In-Reply-To
- <20110505232503.GA7507@elie>
Jonathan Nieder <jrnieder@gmail.com> writes:
> Maybe simplest would be to use Szeder's fix + make the zsh version of > _get_comp_words_by_ref not overwrite "words" at all?
I do not use zsh myself, but it appears to me that these three-patch series can graduate and if real zsh users find problems after using it they can be fixed independenty in-tree.
Would that risk too many patch ping-pong among zsh users on 'master'? The "don't declare 'local words' in zsh" patch seems to be the right work-around for the peculiar semantics of "words" array, at least to me.