diff options
author | Daniel Hahler <git@thequod.de> | 2015-02-08 15:09:57 +0100 |
---|---|---|
committer | Frank Terbeck <ft@bewatermyfriend.org> | 2015-02-08 20:27:25 +0100 |
commit | ffaf99288fad178850c575d4025662b7252e56c1 (patch) | |
tree | 411a7d348dd445df00db5395fcc2ef424b458be8 /Completion/Unix/Command | |
parent | 860ef4e125673f07633e811a8f893c3e62c405c9 (diff) | |
download | zsh-ffaf99288fad178850c575d4025662b7252e56c1.tar.gz zsh-ffaf99288fad178850c575d4025662b7252e56c1.tar.xz zsh-ffaf99288fad178850c575d4025662b7252e56c1.zip |
34469: git completion: add "stash" from refs/stash to __git_heads
Diffstat (limited to 'Completion/Unix/Command')
-rw-r--r-- | Completion/Unix/Command/_git | 1 |
1 files changed, 1 insertions, 0 deletions
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 |