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

Re: [PATCH] Updates to git completion



2009/1/29 Richard Hartmann <richih.mailinglist@xxxxxxxxx>:
> On Thu, Jan 29, 2009 at 13:21, Ingmar Vanhassel <ingmar@xxxxxxxxxxx> wrote:
>
>> I've started working on updating the git completion for command line
>> changes in git 1.6.0 & newer.
>
> Ah, sorry, I should have read all emails on this list before answering.
>
> First of all: Thanks & welcome :)
>
>
> If you are adding/changing things which are not valid for older versions
> of git, you might want to check the git version and act depending on
> that.
> From looking over the patches (_not_ trying them!), they seem to
> make sense (provided that git has those options ;)

I think trying to complete options for the right versions for ~130
commands could make the
code just a bit convoluted and hard to follow. Not even git itself
documents when options
were introduced.

-- 
Mikael Magnusson



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