Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: PATCH: (3/3) _git: re-add `user-commands' support again



On Fri, Jul 22, 2011 at 14:00, Frank Terbeck <ft@xxxxxxxxxxxxxxxxxxx> wrote:
> Nikolai Weibull wrote:
>> Do we really need this style?  I don’t like it at all.  If the user
>> wants to add completion for a sub-command they should really go the
>> extra distance and add a proper completion definition for the whole
>> sub-command.  It’s not hard to add a _git-subcommand file under
>> ~/.zsh/functions (or similar) with a proper description and all.
>>
>> If you don’t disagree I’m going to remove it.
>
> I know people who use this, yes. I don't use it myself, but that would
> break backwards compatibility for them.

Well, I’ve never guaranteed backwards compatibility in any of the
releases of _git.  It’s always been a work in progress.  The
user-commands style wasn’t something that I added, either.  Things are
stabilizing now, but that also means that I would like to cut cruft
like this.  Backwards compatibility isn’t in itself a strong enough
argument for keeping it around.

So, what exactly is the use case for user-commands?  Does it solve
something that something else won’t solve with greater satisfaction?



Messages sorted by: Reverse Date, Date, Thread, Author