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 | |
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
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | Completion/Unix/Command/_git | 1 |
2 files changed, 6 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog index 002f52094..dffe88c88 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2015-02-08 Daniel Hahler <git@thequod.de> + + * 34469: Completion/Unix/Command/_git: git completion: add "stash" + from refs/stash to __git_heads + 2015-02-07 Daniel Shahaf <d.s@daniel.shahaf.name> * 34464: Completion/Unix/Command/_mtr: Update mtr 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 |