Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
[PATCH] complete modified files after `git stash --`
- X-seq: zsh-workers 43006
- From: Tim Smith <tim.dolores@xxxxxxxxx>
- To: zsh-workers@xxxxxxx
- Subject: [PATCH] complete modified files after `git stash --`
- Date: Wed, 13 Jun 2018 12:48:59 -0600
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=XGG5Hwki/gyO2SYaq2Gq4/epUgG2qnObBUUs9l9ozKY=; b=oOgzZHbXyNbR/b/T2qJ+SIhPSvzmfc4isMZKe+QrZJFZrldlWTI1cU7d6cLBqdxrUs 3MoebV3HvOS4I+fUQik5e9bxI9cik1qlxPV7kH4MbzybnZyBYgpqC+OlcGHXb526nKSI 3epTm8X3+JD8ptNPK67uosDAkes383w+Mfget4WRa9OOZavAEi4TsyK2rKDy/debvlCF Nb8GdNe1ngEPaFk/Dzw15/UuzkvdvizFfD7tOytNMnScRMPRKIA+DllSDV0we+G+HJFv qA0AvEI25tWta8Sd0cAmroi/KbiFZL+h/bvnYIG0AEaimb2M+fsCpUpDDZ+INf1vqiXO lBTQ==
- List-help: <mailto:zsh-workers-help@zsh.org>
- List-id: Zsh Workers List <zsh-workers.zsh.org>
- List-post: <mailto:zsh-workers@zsh.org>
- List-unsubscribe: <mailto:zsh-workers-unsubscribe@zsh.org>
- Mailing-list: contact zsh-workers-help@xxxxxxx; run by ezmlm
---
Completion/Unix/Command/_git | 3 +++
1 file changed, 3 insertions(+)
diff --git a/Completion/Unix/Command/_git b/Completion/Unix/Command/_git
index 21ba657..9632bf4 100644
--- a/Completion/Unix/Command/_git
+++ b/Completion/Unix/Command/_git
@@ -1694,6 +1694,9 @@ _git-stash () {
'(-m --message)'{-m,--message}'[specify stash description]' \
':: :__git_modified_files' && ret=0
;;
+ (--)
+ __git_modified_files
+ ;;
(list)
local -a log_options revision_options
__git_setup_log_options
--
2.17.0
Messages sorted by:
Reverse Date,
Date,
Thread,
Author