From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 552 invoked from network); 28 Aug 2008 18:38:16 -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; 28 Aug 2008 18:38:16 -0000 Received-SPF: none (ns1.primenet.com.au: domain at sunsite.dk does not designate permitted sender hosts) Received: (qmail 10047 invoked from network); 28 Aug 2008 18:38:01 -0000 Received: from sunsite.dk (130.225.247.90) by a.mx.sunsite.dk with SMTP; 28 Aug 2008 18:38:01 -0000 Received: (qmail 1207 invoked by alias); 28 Aug 2008 18:37:55 -0000 Mailing-List: contact zsh-workers-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 25540 Received: (qmail 1194 invoked from network); 28 Aug 2008 18:37:54 -0000 Received: from bifrost.dotsrc.org (130.225.254.106) by sunsite.dk with SMTP; 28 Aug 2008 18:37:54 -0000 Received: from mta-2.ms.rz.rwth-aachen.de (mta-2.ms.rz.RWTH-Aachen.DE [134.130.7.73]) by bifrost.dotsrc.org (Postfix) with ESMTPS id 672C7801E2B4 for ; Thu, 28 Aug 2008 20:37:38 +0200 (CEST) Received: from ironport-out-1.rz.rwth-aachen.de ([134.130.3.58]) by mta-2.ms.rz.RWTH-Aachen.de (Sun Java System Messaging Server 6.2-8.04 (built Feb 28 2007)) with ESMTP id <0K6B0073HQEQROE0@mta-2.ms.rz.RWTH-Aachen.de> for zsh-workers@sunsite.dk; Thu, 28 Aug 2008 20:37:38 +0200 (CEST) Received: from relay.rwth-aachen.de ([134.130.3.1]) by ironport-in-1.rz.rwth-aachen.de with ESMTP; Thu, 28 Aug 2008 20:37:38 +0200 Received: from fsst.voodoo.lan ([212.117.84.217]) by relay.rwth-aachen.de (8.13.7/8.13.3/1) with ESMTP id m7SIbcUC028369 for ; Thu, 28 Aug 2008 20:37:38 +0200 (MEST) Received: from hawk by fsst.voodoo.lan with local (Exim 4.69) (envelope-from ) id 1KYmMn-0003FT-EZ for zsh-workers@sunsite.dk; Thu, 28 Aug 2008 20:37:09 +0200 Date: Thu, 28 Aug 2008 20:37:07 +0200 From: Frank Terbeck Subject: Re: PATCH: Fix a bug in _git's clone completion In-reply-to: <237967ef0808281104g1b22c705s662f4f17d8db0b5a@mail.gmail.com> To: zsh workers Mail-followup-to: zsh workers Message-id: <20080828183707.GF6330@fsst.voodoo.lan> MIME-version: 1.0 Content-type: text/plain; charset=iso-8859-1 Content-transfer-encoding: 7BIT Content-disposition: inline X-IronPort-AV: E=Sophos;i="4.32,287,1217800800"; d="scan'208";a="81094660" References: <20080828160152.GE6330@fsst.voodoo.lan> <237967ef0808281104g1b22c705s662f4f17d8db0b5a@mail.gmail.com> User-Agent: Mutt/1.5.18 (2008-05-17) X-Virus-Scanned: ClamAV 0.92.1/8110/Thu Aug 28 19:43:02 2008 on bifrost X-Virus-Status: Clean Mikael Magnusson : > 2008/8/28 Frank Terbeck : [...] > > Finally, I do not understand why the end of the _arguments call was > > done like this: > > > > [snip] > > ':repository:__git_any_repositories' \- > > '*:directory:_directories' && ret=0- > > [snap] > > > > ...and not just: '*:repository:__git_any_repositories' && ret 0 > > > > If someone can explain, please do ahead. :) > > This is because > SYNOPSIS > git clone ... [] > > Ie, you can give an optional argument where to clone to. The * is bogus > though. Oops, right. I could swear the completion did something wrong, but I can't reproduce it anymore. I guess, I missed one zsh-restart when I was testing. :-) Regards, Frank -- In protocol design, perfection has been reached not when there is nothing left to add, but when there is nothing left to take away. -- RFC 1925