summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2018-10-16 07:16:09 (GMT)
committerJunio C Hamano <gitster@pobox.com>2018-10-16 07:16:09 (GMT)
commit47e1fb12d6da77f6cade33b8a3b7bf5a94c3e0a6 (patch)
tree587a893de7cf022caed5961404676403db15e671
parent65f1b1bd9f88e041ba21e9c0230be5ba44962b5d (diff)
parent705f5f122cb3659db20e0a621ab1e9c09f1e0624 (diff)
downloadgit-47e1fb12d6da77f6cade33b8a3b7bf5a94c3e0a6.zip
git-47e1fb12d6da77f6cade33b8a3b7bf5a94c3e0a6.tar.gz
git-47e1fb12d6da77f6cade33b8a3b7bf5a94c3e0a6.tar.bz2
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
-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 d63d2df..06ec6ca 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,*)