From 705f5f122cb3659db20e0a621ab1e9c09f1e0624 Mon Sep 17 00:00:00 2001 From: Steven Fernandez Date: Thu, 27 Sep 2018 20:59:00 +0100 Subject: [PATCH] git-completion.bash: add completion for stash list Since stash list accepts git-log options, add the following useful options that make sense in the context of the `git stash list` command: --name-status --oneline --patch-with-stat Signed-off-by: Steven Fernandez Signed-off-by: Junio C Hamano --- contrib/completion/git-completion.bash | 3 +++ 1 file changed, 3 insertions(+) diff --git a/contrib/completion/git-completion.bash b/contrib/completion/git-completion.bash index d63d2dffd4..06ec6ca113 100644 --- a/contrib/completion/git-completion.bash +++ b/contrib/completion/git-completion.bash @@ -2567,6 +2567,9 @@ _git_stash () drop,--*) __gitcomp "--quiet" ;; + list,--*) + __gitcomp "--name-status --oneline --patch-with-stat" + ;; show,--*|branch,--*) ;; branch,*) -- 2.11.4.GIT