From 3a35d91446223f63d19e377ea47bc91f7ad822c8 Mon Sep 17 00:00:00 2001 From: Robert Karszniewicz Date: Wed, 7 Oct 2020 00:06:37 +0200 Subject: git-completion.bash: stash-show: complete $__git_diff_common_options Signed-off-by: Robert Karszniewicz Signed-off-by: Junio C Hamano diff --git a/contrib/completion/git-completion.bash b/contrib/completion/git-completion.bash index f363554..83bc646 100644 --- a/contrib/completion/git-completion.bash +++ b/contrib/completion/git-completion.bash @@ -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 -- cgit v0.10.2-6-g49f6