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

Re: [PATCH] Updates to git completion



On 1/30/09, Mikael Magnusson <mikachu@xxxxxxxxx> wrote:
> 2009/1/29 Richard Hartmann <richih.mailinglist@xxxxxxxxx>:

<snip>

>  > 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.

Right.  In general only the latest version is supported.  This is
documented in Etc/completion-style-guide.

Regards,
Doug



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