summaryrefslogtreecommitdiff
path: root/contrib/completion/git-completion.bash
diff options
context:
space:
mode:
authorRobert Karszniewicz <avoidr@posteo.de>2020-10-06 22:06:37 (GMT)
committerJunio C Hamano <gitster@pobox.com>2020-10-07 17:54:02 (GMT)
commit3a35d91446223f63d19e377ea47bc91f7ad822c8 (patch)
treebb9b1ba06823590929c3768bff5fb140887cf7cf /contrib/completion/git-completion.bash
parent8a1bb7ee9ddee1bb32e08d153fbc4f6c6cc2586d (diff)
downloadgit-3a35d91446223f63d19e377ea47bc91f7ad822c8.zip
git-3a35d91446223f63d19e377ea47bc91f7ad822c8.tar.gz
git-3a35d91446223f63d19e377ea47bc91f7ad822c8.tar.bz2
git-completion.bash: stash-show: complete $__git_diff_common_options
Signed-off-by: Robert Karszniewicz <avoidr@posteo.de> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'contrib/completion/git-completion.bash')
-rw-r--r--contrib/completion/git-completion.bash5
1 files changed, 4 insertions, 1 deletions
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