From 25e9590e09db9067dc9c38b213893920a66fb2ae Mon Sep 17 00:00:00 2001 From: Tim Smith Date: Wed, 13 Jun 2018 12:48:59 -0600 Subject: [PATCH] 43006: complete modified files after `git stash --` --- ChangeLog | 3 +++ Completion/Unix/Command/_git | 3 +++ 2 files changed, 6 insertions(+) diff --git a/ChangeLog b/ChangeLog index 88b9aa6e4..ede97e7c4 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,8 @@ 2018-06-18 Oliver Kiddle + * 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