Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
PATCH: Fix 'git stash ( pop|apply )' completion.
- X-seq: zsh-workers 29019
- From: Valentin Haenel <valentin.haenel@xxxxxx>
- To: zsh-workers@xxxxxxx
- Subject: PATCH: Fix 'git stash ( pop|apply )' completion.
- Date: Wed, 20 Apr 2011 14:12:07 +0200
- Cc: Valentin Haenel <valentin.haenel@xxxxxx>
- List-help: <mailto:zsh-workers-help@zsh.org>
- List-id: Zsh Workers List <zsh-workers.zsh.org>
- List-post: <mailto:zsh-workers@zsh.org>
- Mailing-list: contact zsh-workers-help@xxxxxxx; run by ezmlm
---
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