1
0
Fork 0
mirror of git://git.code.sf.net/p/zsh/code synced 2025-10-24 04:50:27 +02:00

Valentin Haenel: 29019: Fix git stash completion (apply and pop subcommands).

This commit is contained in:
Frank Terbeck 2011-04-21 20:57:51 +00:00
parent 8d50102fda
commit 37bb9f7353
2 changed files with 8 additions and 2 deletions

View file

@ -1331,10 +1331,11 @@ _git-stash () {
':: :__git_stashes' && ret=0
;;
(pop|apply)
_arguments -
_arguments \
'--index[try to reinstate the changes added to the index as well]' \
'(-q --quiet)'{-q,--quiet}'[suppress all output]' \
':: :__git_stashes' && ret=0
;;
(branch)
_arguments \
': :__git_guard_branch-name' \