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:
parent
8d50102fda
commit
37bb9f7353
2 changed files with 8 additions and 2 deletions
|
|
@ -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' \
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue