Skip to content

Commit 3a35d91

Browse files
Robert Karszniewiczgitster
authored andcommitted
git-completion.bash: stash-show: complete $__git_diff_common_options
Signed-off-by: Robert Karszniewicz <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent 8a1bb7e commit 3a35d91

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

contrib/completion/git-completion.bash

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3020,7 +3020,10 @@ _git_stash ()
30203020
list,--*)
30213021
__gitcomp "--name-status --oneline --patch-with-stat"
30223022
;;
3023-
show,--*|branch,--*)
3023+
show,--*)
3024+
__gitcomp "$__git_diff_common_options"
3025+
;;
3026+
branch,--*)
30243027
;;
30253028
branch,*)
30263029
if [ $cword -eq 3 ]; then

0 commit comments

Comments
 (0)