Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

[PATCH] complete modified files after `git stash --`



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