From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 2548 invoked from network); 2 Sep 2008 11:27:39 -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; 2 Sep 2008 11:27:39 -0000 Received-SPF: none (ns1.primenet.com.au: domain at sunsite.dk does not designate permitted sender hosts) Received: (qmail 72358 invoked from network); 2 Sep 2008 11:27:13 -0000 Received: from sunsite.dk (130.225.247.90) by a.mx.sunsite.dk with SMTP; 2 Sep 2008 11:27:13 -0000 Received: (qmail 11399 invoked by alias); 2 Sep 2008 11:27:05 -0000 Mailing-List: contact zsh-workers-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 25594 Received: (qmail 11381 invoked from network); 2 Sep 2008 11:27:03 -0000 Received: from bifrost.dotsrc.org (130.225.254.106) by sunsite.dk with SMTP; 2 Sep 2008 11:27:03 -0000 Received: from smtp.bredband2.net (mail.bredband2.net [82.209.166.4]) by bifrost.dotsrc.org (Postfix) with ESMTP id 9F20F801E2B4 for ; Tue, 2 Sep 2008 13:26:47 +0200 (CEST) Received: (qmail 2689 invoked from network); 2 Sep 2008 11:24:08 -0000 Received: from lkf-194-200-233-83.3.cust.bredband2.com (HELO mika.l3ib.org) ([83.233.200.194]) (envelope-sender ) by smtp.bredband2.net (qmail-ldap-1.03) with SMTP for ; 2 Sep 2008 11:24:08 -0000 Date: Tue, 2 Sep 2008 13:26:47 +0200 (CEST) From: Mikael Magnusson To: zsh-workers@sunsite.dk Subject: _git: There were two _git-clean(), add -s to the kept one. In-Reply-To: Message-ID: References: User-Agent: Alpine 1.00 (LNX ) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; format=flowed; charset=US-ASCII X-Virus-Scanned: ClamAV 0.92.1/8137/Tue Sep 2 04:07:16 2008 on bifrost X-Virus-Status: Clean From: Mikael Magnusson Date: Tue, 2 Sep 2008 13:22:18 +0200 Subject: [PATCH] _git: There were two _git-clean(), add -s to the kept one. --- Completion/Unix/Command/_git | 12 +----------- 1 files changed, 1 insertions(+), 11 deletions(-) diff --git a/Completion/Unix/Command/_git b/Completion/Unix/Command/_git index 1f8d2a5..edea5f7 100644 --- a/Completion/Unix/Command/_git +++ b/Completion/Unix/Command/_git @@ -437,16 +437,6 @@ _git-checkout-index () { '*::file:__git_cached_files' && ret=0 } -(( $+functions[_git-clean] )) || -_git-clean () { - _arguments \ - '-d[remove untracked directories]' \ - '-n[just show what would be done]' \ - '-q[be quiet, only report errors]' \ - '(-X -x)-x[do use ignore rules]' \ - '(-X -x)-X[remove only files ignored by git]' && ret=0 -} - (( $+functions[_git-commit-tree] )) || _git-commit-tree () { if (( CURRENT == 2 )); then @@ -1611,7 +1601,7 @@ _git-cherry-pick () { (( $+functions[_git-clean] )) || _git-clean () { - _arguments -S \ + _arguments -S -s \ '-d[also remove untracked directories]' \ '-n[do a dry run]' \ '-f[required when clean.requireForce is true (default)]' \ -- 1.6.0.GIT -- Mikael Magnusson