zsh-workers
 help / color / mirror / code / Atom feed
From: Doug Kearns <dougkearns@gmail.com>
To: "Zsh Hackers' List" <zsh-workers@sunsite.dk>
Subject: Re: [PATCH] Updates to git completion
Date: Tue, 3 Feb 2009 21:44:17 +1100	[thread overview]
Message-ID: <644fc65e0902030244u570edc9xbb457ab47b192bef@mail.gmail.com> (raw)
In-Reply-To: <237967ef0901290640u9adf073g204586c1b290d0@mail.gmail.com>

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

<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


      parent reply	other threads:[~2009-02-03 10:44 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-01-29 12:21 Ingmar Vanhassel
2009-01-29 12:21 ` [PATCH] Add "git remote rename" completion Ingmar Vanhassel
2009-01-29 12:21   ` [PATCH] Add "git describe --tags" completion. Fix typos Ingmar Vanhassel
2009-01-29 12:21     ` [PATCH] Complete "git add --intent-to-add" Ingmar Vanhassel
2009-01-29 12:21       ` [PATCH] "git stage" is now a synonym for "git add". git diff: --staged is a synonym for --cached Ingmar Vanhassel
2009-01-29 12:21         ` [PATCH] Complete "git clone --verbose" Ingmar Vanhassel
2009-01-29 12:21           ` [PATCH] Complete "git commit --cleanup=" and "git commit --allow-empty" Ingmar Vanhassel
2009-01-29 12:21             ` [PATCH] Update "git rebase" completions Ingmar Vanhassel
2009-01-29 12:21               ` [PATCH] Update "git svn" completion Ingmar Vanhassel
2009-01-29 14:33         ` [PATCH] "git stage" is now a synonym for "git add". git diff: --staged is a synonym for --cached Richard Hartmann
2009-01-29 14:36 ` [PATCH] Updates to git completion Richard Hartmann
2009-01-29 14:40   ` Mikael Magnusson
2009-01-29 15:07     ` Richard Hartmann
2009-01-29 15:18       ` Nikolai Weibull
2009-02-02 14:48         ` Allan Caffee
2009-02-03 10:44     ` Doug Kearns [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=644fc65e0902030244u570edc9xbb457ab47b192bef@mail.gmail.com \
    --to=dougkearns@gmail.com \
    --cc=zsh-workers@sunsite.dk \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).