summaryrefslogtreecommitdiff
path: root/contrib
diff options
context:
space:
mode:
authorLibravatar Junio C Hamano <gitster@pobox.com>2018-10-16 16:16:09 +0900
committerLibravatar Junio C Hamano <gitster@pobox.com>2018-10-16 16:16:09 +0900
commit47e1fb12d6da77f6cade33b8a3b7bf5a94c3e0a6 (patch)
tree587a893de7cf022caed5961404676403db15e671 /contrib
parentMerge branch 'mw/doc-typofixes' (diff)
parentgit-completion.bash: add completion for stash list (diff)
downloadtgif-47e1fb12d6da77f6cade33b8a3b7bf5a94c3e0a6.tar.xz
Merge branch 'sf/complete-stash-list'
The completion script (in contrib/) learned to complete a handful of options "git stash list" command takes. * sf/complete-stash-list: git-completion.bash: add completion for stash list
Diffstat (limited to 'contrib')
-rw-r--r--contrib/completion/git-completion.bash3
1 files changed, 3 insertions, 0 deletions
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,*)