From: Steven Fernandez Date: Thu, 27 Sep 2018 19:59:00 +0000 (+0100) Subject: git-completion.bash: add completion for stash list X-Git-Tag: v2.20.0-rc0~167^2 X-Git-Url: https://git.lorimer.id.au/gitweb.git/diff_plain/705f5f122cb3659db20e0a621ab1e9c09f1e0624?hp=--cc 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 --- 705f5f122cb3659db20e0a621ab1e9c09f1e0624 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,*)