Merge branch 'sf/complete-stash-list'
authorJunio C Hamano <gitster@pobox.com>
Tue, 16 Oct 2018 07:16:09 +0000 (16:16 +0900)
committerJunio C Hamano <gitster@pobox.com>
Tue, 16 Oct 2018 07:16:09 +0000 (16:16 +0900)
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

contrib/completion/git-completion.bash
index d63d2dffd4e12186e734adb0cc2ae7c1db7a6374..06ec6ca11399b21c6de5c0f5678dcb94d3925008 100644 (file)
@@ -2567,6 +2567,9 @@ _git_stash ()
                drop,--*)
                        __gitcomp "--quiet"
                        ;;
+               list,--*)
+                       __gitcomp "--name-status --oneline --patch-with-stat"
+                       ;;
                show,--*|branch,--*)
                        ;;
                branch,*)