Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Fix a typo in _git.
- X-seq: zsh-workers 25461
- From: Clint Adams <clint@xxxxxxx>
- To: Mikael Magnusson <mikachu@xxxxxxxxx>
- Subject: Re: Fix a typo in _git.
- Date: Sat, 16 Aug 2008 13:25:33 +0000
- Cc: zsh-workers <zsh-workers@xxxxxxxxxx>
- In-reply-to: <237967ef0808151656j7787f169g4b3456910e05bfc2@xxxxxxxxxxxxxx>
- Mail-followup-to: Mikael Magnusson <mikachu@xxxxxxxxx>, zsh-workers <zsh-workers@xxxxxxxxxx>
- Mailing-list: contact zsh-workers-help@xxxxxxxxxx; run by ezmlm
- References: <237967ef0808151656j7787f169g4b3456910e05bfc2@xxxxxxxxxxxxxx>
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 <mikachu@xxxxxxxxx>
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] )) ||
Messages sorted by:
Reverse Date,
Date,
Thread,
Author