Skip to content

Commit 705f5f1

Browse files
lonetwingitster
authored andcommitted
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 <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent f84b9b0 commit 705f5f1

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

contrib/completion/git-completion.bash

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2567,6 +2567,9 @@ _git_stash ()
25672567
drop,--*)
25682568
__gitcomp "--quiet"
25692569
;;
2570+
list,--*)
2571+
__gitcomp "--name-status --oneline --patch-with-stat"
2572+
;;
25702573
show,--*|branch,--*)
25712574
;;
25722575
branch,*)

0 commit comments

Comments
 (0)