From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 11181 invoked from network); 16 Aug 2008 13:25:58 -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,WEIRD_PORT autolearn=no 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; 16 Aug 2008 13:25:58 -0000 Received-SPF: none (ns1.primenet.com.au: domain at sunsite.dk does not designate permitted sender hosts) Received: (qmail 96504 invoked from network); 16 Aug 2008 13:25:48 -0000 Received: from sunsite.dk (130.225.247.90) by a.mx.sunsite.dk with SMTP; 16 Aug 2008 13:25:48 -0000 Received: (qmail 6466 invoked by alias); 16 Aug 2008 13:25:38 -0000 Mailing-List: contact zsh-workers-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 25461 Received: (qmail 6451 invoked from network); 16 Aug 2008 13:25:37 -0000 Received: from bifrost.dotsrc.org (130.225.254.106) by sunsite.dk with SMTP; 16 Aug 2008 13:25:37 -0000 Received: from cork.scru.org (cork.scru.org [209.20.67.2]) by bifrost.dotsrc.org (Postfix) with ESMTPS id 8826780EA0B3 for ; Sat, 16 Aug 2008 15:25:34 +0200 (CEST) Received: by cork.scru.org (Postfix, from userid 1000) id 535A2104087; Sat, 16 Aug 2008 13:25:33 +0000 (UTC) Date: Sat, 16 Aug 2008 13:25:33 +0000 From: Clint Adams To: Mikael Magnusson Cc: zsh-workers Subject: Re: Fix a typo in _git. Message-ID: <20080816132533.GA31436@scru.org> Mail-Followup-To: Mikael Magnusson , zsh-workers References: <237967ef0808151656j7787f169g4b3456910e05bfc2@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <237967ef0808151656j7787f169g4b3456910e05bfc2@mail.gmail.com> User-Agent: Mutt/1.5.18 (2008-05-17) X-Virus-Scanned: ClamAV 0.92.1/8051/Sat Aug 16 05:44:59 2008 on bifrost X-Virus-Status: Clean On Sat, Aug 16, 2008 at 01:56:36AM +0200, Mikael Magnusson wrote: > http://git.mika.l3ib.org/?p=zsh-cvs.git;a=history;f=Completion/Unix/Command/_git;h=mika From: Mikael Magnusson Date: Fri, 6 Jun 2008 02:02:50 +0000 (+0200) Subject: Complete HEAD as a head too. X-Git-Url: http://git.mika.l3ib.org:1234/?p=zsh-cvs.git;a=commitdiff_plain;h=e5951399384c1435947511c2e7269436c6c56619 Complete HEAD as a head too. --- diff --git a/Completion/Unix/Command/_git b/Completion/Unix/Command/_git index 87b692f..2e33269 100644 --- a/Completion/Unix/Command/_git +++ b/Completion/Unix/Command/_git @@ -2904,7 +2904,7 @@ __git_heads () { branch_names=(${${(f)"$(_call_program heads git branch --no-color -a 2>/dev/null)"}#[* ] }) __git_command_successful || return - _wanted heads expl branch-name compadd $* - $branch_names + _wanted heads expl branch-name compadd $* - $branch_names HEAD } (( $+functions[__git_tags] )) ||