From b0aec8054ca08d82e31b6f83376586e3c174c5d4 Mon Sep 17 00:00:00 2001 From: Frank Terbeck Date: Sun, 2 May 2010 08:56:25 +0000 Subject: * 27813: Simon Ruderich: Completion/Unix/Command/_git: Complete some generic symbolic references as heads. --- Completion/Unix/Command/_git | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Completion') 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] )) || -- cgit 1.4.1