From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 23725 invoked from network); 3 Feb 2009 10:44:34 -0000 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00 autolearn=ham version=3.2.5 Received: from news.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.247.88) by ns1.primenet.com.au with SMTP; 3 Feb 2009 10:44:34 -0000 Received-SPF: none (ns1.primenet.com.au: domain at sunsite.dk does not designate permitted sender hosts) Received: (qmail 65182 invoked from network); 3 Feb 2009 10:44:29 -0000 Received: from sunsite.dk (130.225.247.90) by a.mx.sunsite.dk with SMTP; 3 Feb 2009 10:44:29 -0000 Received: (qmail 27600 invoked by alias); 3 Feb 2009 10:44:24 -0000 Mailing-List: contact zsh-workers-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 26508 Received: (qmail 27583 invoked from network); 3 Feb 2009 10:44:24 -0000 Received: from bifrost.dotsrc.org (130.225.254.106) by sunsite.dk with SMTP; 3 Feb 2009 10:44:24 -0000 Received: from wf-out-1314.google.com (wf-out-1314.google.com [209.85.200.168]) by bifrost.dotsrc.org (Postfix) with ESMTP id BED4080271F0 for ; Tue, 3 Feb 2009 11:44:20 +0100 (CET) Received: by wf-out-1314.google.com with SMTP id 29so2094691wff.3 for ; Tue, 03 Feb 2009 02:44:18 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type :content-transfer-encoding; bh=T3i/i7aL2cJfO7gO195jOp4Si9hPLFMwYP2e3x4qcb4=; b=BzmxcAyOi7TVWxDWdwJH4G3myjUkW5G5d7DrybTIAFlycY/VsofgCTor/sBUMLsHq2 1Uid5KgigrYz7t/AA5mm3MFWnivDaAuVBQ0f5rG21Bf8DanOd54ugIJm08LeGkM428mw N6lEUUutwkb98r8V7eJ1TlCvRDnhP3zxlp3GY= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; b=xNN4LN2Tqlee1NeLWASTw8PpcOpZz80OJn6E6gwjW9D509aUjG60BtUDlj6uRhJ4GR T+H4r9hOdD13QLpBq8BHYD2YDKyWwD7P+Pr3Z2yQ3Bst4Dih1o0VOs4BbaBDMFxUL9Dz qZoWcEAkgjip/9l4sNEkS5miStS2kqlGQNkxQ= MIME-Version: 1.0 Received: by 10.143.159.11 with SMTP id l11mr2304777wfo.143.1233657857989; Tue, 03 Feb 2009 02:44:17 -0800 (PST) In-Reply-To: <237967ef0901290640u9adf073g204586c1b290d0@mail.gmail.com> References: <1233231710-1204-1-git-send-email-ingmar@exherbo.org> <2d460de70901290636g6e0b43fw971397716cba8886@mail.gmail.com> <237967ef0901290640u9adf073g204586c1b290d0@mail.gmail.com> Date: Tue, 3 Feb 2009 21:44:17 +1100 Message-ID: <644fc65e0902030244u570edc9xbb457ab47b192bef@mail.gmail.com> Subject: Re: [PATCH] Updates to git completion From: Doug Kearns To: "Zsh Hackers' List" Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Virus-Scanned: ClamAV 0.92.1/8945/Tue Feb 3 08:03:14 2009 on bifrost X-Virus-Status: Clean On 1/30/09, Mikael Magnusson wrote: > 2009/1/29 Richard Hartmann : > > 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