diff options
author | Frank Terbeck <bewater@users.sourceforge.net> | 2010-05-02 08:56:25 +0000 |
---|---|---|
committer | Frank Terbeck <bewater@users.sourceforge.net> | 2010-05-02 08:56:25 +0000 |
commit | b0aec8054ca08d82e31b6f83376586e3c174c5d4 (patch) | |
tree | a513ae8e5d75650900d4be6d776dd72ccfae7afd /Completion/Unix | |
parent | b4014f00a6f41eb781ba02271a1eadc6fe7a4ce2 (diff) | |
download | zsh-b0aec8054ca08d82e31b6f83376586e3c174c5d4.tar.gz zsh-b0aec8054ca08d82e31b6f83376586e3c174c5d4.tar.xz zsh-b0aec8054ca08d82e31b6f83376586e3c174c5d4.zip |
* 27813: Simon Ruderich: Completion/Unix/Command/_git: Complete some generic symbolic references as heads.
Diffstat (limited to 'Completion/Unix')
-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 f30de494a..aef5e7c68 100644 --- a/Completion/Unix/Command/_git +++ b/Completion/Unix/Command/_git @@ -3126,7 +3126,7 @@ __git_heads () { branch_names=(${${(f)"$(_call_program headrefs git for-each-ref --format='"%(refname)"' refs/heads refs/remotes 2>/dev/null)"}#refs/(heads|remotes)/}) __git_command_successful || return - _wanted heads expl branch-name compadd $* - $branch_names HEAD + _wanted heads expl branch-name compadd $* - $branch_names HEAD FETCH_HEAD ORIG_HEAD MERGE_HEAD } (( $+functions[__git_tags] )) || |