zsh-workers
 help / color / mirror / code / Atom feed
* PATCH: Fix 'git stash ( pop|apply )' completion.
@ 2011-04-20 12:12 Valentin Haenel
  0 siblings, 0 replies; only message in thread
From: Valentin Haenel @ 2011-04-20 12:12 UTC (permalink / raw)
  To: zsh-workers; +Cc: Valentin Haenel

---
 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


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2011-04-20 12:27 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-04-20 12:12 PATCH: Fix 'git stash ( pop|apply )' completion Valentin Haenel

Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).