]> git.ipfire.org Git - thirdparty/git.git/commitdiff
git-completion.bash: stash-show: complete $__git_diff_common_options
authorRobert Karszniewicz <avoidr@posteo.de>
Tue, 6 Oct 2020 22:06:37 +0000 (00:06 +0200)
committerJunio C Hamano <gitster@pobox.com>
Wed, 7 Oct 2020 17:54:02 +0000 (10:54 -0700)
Signed-off-by: Robert Karszniewicz <avoidr@posteo.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
contrib/completion/git-completion.bash

index f363554996d8c529d2a40f07b71fd0b24416ac68..83bc64607bda0a4961145cb37e306218d7323653 100644 (file)
@@ -3020,7 +3020,10 @@ _git_stash ()
                list,--*)
                        __gitcomp "--name-status --oneline --patch-with-stat"
                        ;;
-               show,--*|branch,--*)
+               show,--*)
+                       __gitcomp "$__git_diff_common_options"
+                       ;;
+               branch,--*)
                        ;;
                branch,*)
                        if [ $cword -eq 3 ]; then