From ffaf99288fad178850c575d4025662b7252e56c1 Mon Sep 17 00:00:00 2001 From: Daniel Hahler Date: Sun, 8 Feb 2015 15:09:57 +0100 Subject: 34469: git completion: add "stash" from refs/stash to __git_heads --- Completion/Unix/Command/_git | 1 + 1 file changed, 1 insertion(+) (limited to 'Completion') diff --git a/Completion/Unix/Command/_git b/Completion/Unix/Command/_git index 9a78bf48c..17c4d5792 100644 --- a/Completion/Unix/Command/_git +++ b/Completion/Unix/Command/_git @@ -5621,6 +5621,7 @@ __git_heads () { for f in HEAD FETCH_HEAD ORIG_HEAD MERGE_HEAD; do [[ -f $gitdir/$f ]] && heads+=$f done + [[ -f $gitdir/refs/stash ]] && heads+=stash fi _wanted heads expl head compadd "$@" -a - heads -- cgit 1.4.1