about summary refs log tree commit diff
path: root/Completion/Unix/Command/_git
diff options
context:
space:
mode:
authorTim Smith <tim.dolores@gmail.com>2018-06-13 12:48:59 -0600
committerOliver Kiddle <okiddle@yahoo.co.uk>2018-06-18 09:23:27 +0200
commit25e9590e09db9067dc9c38b213893920a66fb2ae (patch)
tree70f237da9cdc4c5f85ae01a055d72e8b62c7a1b9 /Completion/Unix/Command/_git
parent4dddf3aa6e446cef6e0ea720aa20bcf71d6107b1 (diff)
downloadzsh-25e9590e09db9067dc9c38b213893920a66fb2ae.tar.gz
zsh-25e9590e09db9067dc9c38b213893920a66fb2ae.tar.xz
zsh-25e9590e09db9067dc9c38b213893920a66fb2ae.zip
43006: complete modified files after `git stash --`
Diffstat (limited to 'Completion/Unix/Command/_git')
-rw-r--r--Completion/Unix/Command/_git3
1 files changed, 3 insertions, 0 deletions
diff --git a/Completion/Unix/Command/_git b/Completion/Unix/Command/_git
index 254086473..b92a320df 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