From: Tim Smith <tim.dolores@gmail.com>
To: zsh-workers@zsh.org
Subject: [PATCH] complete modified files after `git stash --`
Date: Wed, 13 Jun 2018 12:48:59 -0600 [thread overview]
Message-ID: <CAH5GiOC=+GtG=d4JtWFt08qFWdxY5YT6M4Z7SBtG3cWd6YDTJg@mail.gmail.com> (raw)
---
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
reply other threads:[~2018-06-13 18:49 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='CAH5GiOC=+GtG=d4JtWFt08qFWdxY5YT6M4Z7SBtG3cWd6YDTJg@mail.gmail.com' \
--to=tim.dolores@gmail.com \
--cc=zsh-workers@zsh.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).