From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 28843 invoked from network); 19 Aug 2008 00:38:12 -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=AWL,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; 19 Aug 2008 00:38:12 -0000 Received-SPF: none (ns1.primenet.com.au: domain at sunsite.dk does not designate permitted sender hosts) Received: (qmail 86685 invoked from network); 19 Aug 2008 00:37:57 -0000 Received: from sunsite.dk (130.225.247.90) by a.mx.sunsite.dk with SMTP; 19 Aug 2008 00:37:57 -0000 Received: (qmail 26112 invoked by alias); 19 Aug 2008 00:37:43 -0000 Mailing-List: contact zsh-workers-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 25483 Received: (qmail 26085 invoked from network); 19 Aug 2008 00:37:38 -0000 Received: from bifrost.dotsrc.org (130.225.254.106) by sunsite.dk with SMTP; 19 Aug 2008 00:37:38 -0000 Received: from nf-out-0910.google.com (nf-out-0910.google.com [64.233.182.188]) by bifrost.dotsrc.org (Postfix) with ESMTP id 5CC8C8058F37 for ; Tue, 19 Aug 2008 02:37:34 +0200 (CEST) Received: by nf-out-0910.google.com with SMTP id g13so3178179nfb.11 for ; Mon, 18 Aug 2008 17:37:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=7Kldms+FX+JhJ9Khz/ETaSMljHxIPPpYom3MKHJO7p8=; b=qle141N5lvotk8FGaQUTK1tcGwrh4BqDlTB+ztQN/hIPAf7VlCR72DBJK66+cjPrHi l34fpm1KfNVv3hagzm75FgUSghTZ+JuvOLo+oKQKucrLA+E44GFRaGSC+0dq/UZpCvp1 hlukPpJKoqaOMRt8Nw4M0dg6d5pxu6R+33sI4= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=IRF9V+isYw5rZMj80yUP8rUeibTS6eqqdaAs27OLPPZnNTJEsYmy6cWJmnYssEekhH 80qllB+4bLktfseXjHaGuTGey/pKAf1r+t4QkuFXoMavbWv+Oa8QczWycTWbiWkYJNIx PB0E2Q7M5GkYJfOp1CSra4iw9NPF6+O0Vo4D8= Received: by 10.210.37.11 with SMTP id k11mr8864230ebk.136.1219106254080; Mon, 18 Aug 2008 17:37:34 -0700 (PDT) Received: by 10.210.19.20 with HTTP; Mon, 18 Aug 2008 17:37:34 -0700 (PDT) Message-ID: <237967ef0808181737i29029b0kb170942152ff57fd@mail.gmail.com> Date: Tue, 19 Aug 2008 02:37:34 +0200 From: "Mikael Magnusson" To: zsh-workers Subject: Re: Fix a typo in _git. In-Reply-To: <20080819002511.GA13736@scru.org> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <237967ef0808151656j7787f169g4b3456910e05bfc2@mail.gmail.com> <20080817171321.GA24334@scru.org> <237967ef0808171027t4773ff36nb1cfe08942b63a5f@mail.gmail.com> <20080818014613.GA30193@scru.org> <237967ef0808180247l7b0ed485ob72df0a0637c57e9@mail.gmail.com> <237967ef0808181310kfa7128bt2e0321e77ad96d8f@mail.gmail.com> <20080818224510.GA12825@scru.org> <237967ef0808181709m1f6d6c5ao2311d960284f5c3f@mail.gmail.com> <20080819002511.GA13736@scru.org> X-Virus-Scanned: ClamAV 0.92.1/8056/Mon Aug 18 16:33:41 2008 on bifrost X-Virus-Status: Clean 2008/8/19 Clint Adams : > On Tue, Aug 19, 2008 at 02:09:38AM +0200, Mikael Magnusson wrote: >> Oooh, that was tricky :). > > Re: my_abbrev: the man page seems to indicate that --abbrev and > --no-abbrev are invalid without -v. Is that incorrect? Hmm yes, but what if you want to type --no-abbrev -v in that order? > Similar question for the git clone --local/--shared thing. The man page and the command are both happy with -l -s. With recent git versions, the -l option is always a no-op anyway... But in all honesty, I think I just hadn't figured out what the (I) construction did then :). It is still mystifying to me why _git-branch cares where on the command-line the -v appears. And also, it only checked if -v was present to complete --abbrev, but not the other way around. Besides, isn't this what the (-v)--abbrev syntax is for? (Though that has always confused me, reading in the manpage at least suggests that's what it does, *fiddles with that a bit*.) -- Mikael Magnusson