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 <steve@lonetwin.net> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Steven Fernandez committed
Sep 27, 2018 at 20:59 UTC
705f5f122cb3659db20e0a621ab1e9c09f1e0624
1 file changed
+3
contrib/completion/git-completion.bash
+3
@@ -2567,6 +2567,9 @@ _git_stash ()
2567
drop,--*)
2568
__gitcomp "--quiet"
2569
;;
2570
+ list,--*)
2571
+ __gitcomp "--name-status --oneline --patch-with-stat"
2572
+ ;;
2573
show,--*|branch,--*)
2574
;;
2575
branch,*)