diff options
| author | Clint Adams <clint@users.sourceforge.net> | 2008-08-16 13:28:28 +0000 |
|---|---|---|
| committer | Clint Adams <clint@users.sourceforge.net> | 2008-08-16 13:28:28 +0000 |
| commit | f413d1f4d93808813bb228f82b643bf761a7ec43 (patch) | |
| tree | 2159d5b18d3ab98960c21a45954a89f0964a4a1d /Completion/Unix/Command/_git | |
| parent | 25460: patch to add the --branches/tags/remotes for rev-list to _git from Mik... (diff) | |
| download | zsh-f413d1f4d93808813bb228f82b643bf761a7ec43.tar zsh-f413d1f4d93808813bb228f82b643bf761a7ec43.tar.gz zsh-f413d1f4d93808813bb228f82b643bf761a7ec43.tar.bz2 zsh-f413d1f4d93808813bb228f82b643bf761a7ec43.tar.lz zsh-f413d1f4d93808813bb228f82b643bf761a7ec43.tar.xz zsh-f413d1f4d93808813bb228f82b643bf761a7ec43.tar.zst zsh-f413d1f4d93808813bb228f82b643bf761a7ec43.zip | |
25461: patch to add HEAD as a completion for heads, from Mikael Magnusson.
Diffstat (limited to 'Completion/Unix/Command/_git')
| -rw-r--r-- | Completion/Unix/Command/_git | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Completion/Unix/Command/_git b/Completion/Unix/Command/_git index b7c1cd3fb..c5290d365 100644 --- a/Completion/Unix/Command/_git +++ b/Completion/Unix/Command/_git @@ -2900,7 +2900,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] )) || |
