summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog3
-rw-r--r--Completion/Unix/Command/_git3
2 files changed, 6 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 88b9aa6e4..ede97e7c4 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,8 @@
 2018-06-18  Oliver Kiddle  <okiddle@yahoo.co.uk>
 
+	* 43006: Tim Smith: Completion/Unix/Command/_git: complete
+	modified files after `git stash --`
+
 	* users/23484: Completion/Unix/Command/_git: be consistent on
 	matcher specs for branches to fix issue with partial matching
 
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