On Sat, Apr 20, 2013 at 1:53 PM, Jonathan Nieder <jrnie...@gmail.com> wrote:
> Jonathan Nieder wrote:
>> Ramkumar Ramachandra wrote:
>>> However, I don't understand why we
>>> maintain it, because there's a comprehensive first-class completer in
>>> ZSH core  which I use all the time. Shouldn't the completion folks
>>> be contributing to this instead?
>> Only if they want to.
> Sorry, wrong link. Here's a better one:
> More fundamentally, your question seems to assume some kind of shared
> plan regarding what people work on, rather than each person choosing
> to work on what they consider valuable without having to justify it to
> others. I am very happy with Felipe's work on git's completion code
> and don't think it does any harm to efforts elsewhere.
To complement the reason; the zsh folks (or perhaps it's only one; who
works on the git stuff), absolutely prioritize "correctness" over
speed, that means if it takes ten seconds to list all the possible
files to complete, grouped nicely, that's exactly what they'll do,
instead of the way the bash completion does, which lists the most
likely files, which takes milliseconds.
I found zsh's completion unbearably slow, which is ironic; git is the
fastest DSCM on Earth, and they blow the performance away by making
the completion dead slow, to the point where the completion is several
orders of magnitude slower than the actual command. To me, the whole
point of the completion is to make the work faster, and if the
completion takes longer than me typing it, what's the point of it?
And I'm not the only one, when I contributed this stuff to
oh-my-zsh I got a very positive response.
I couldn't convince them of this obvious fact, so I choose git's bash
I have patches to improve the zsh thin wrapper to give more
information, zsh style, in a way that is superior to zsh's git
completion, but I'm still not happy with them, I want the user to be
able to configure the output so it's not totally bloated like in zsh,
and I'm still working on it. In the mean time, I want my completion to
be blazingly fast, and at least as good as git's bash completion.
If they wanted my contributions, that would be awesome, but that
doesn't appear to be the case. And I'm kind of relieved, because zsh's
completion is monstrous code, and the zsh development practices are
not good (e.g. all my logically independent patches get squashed into
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majord...@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html