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 d63d2df..06ec6ca 100644 (file)
@@ -2567,6 +2567,9 @@ _git_stash ()
                drop,--*)
                        __gitcomp "--quiet"
                        ;;
+               list,--*)
+                       __gitcomp "--name-status --oneline --patch-with-stat"
+                       ;;
                show,--*|branch,--*)
                        ;;
                branch,*)