Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

PATCH: Fix 'git stash ( pop|apply )' completion.



---
 Completion/Unix/Command/_git |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/Completion/Unix/Command/_git b/Completion/Unix/Command/_git
index 000c1a4..37ea338 100644
--- a/Completion/Unix/Command/_git
+++ b/Completion/Unix/Command/_git
@@ -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' \
-- 
1.7.1



Messages sorted by: Reverse Date, Date, Thread, Author