git.99rst.org
/
git.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
| inline |
side by side
(parent:
8a1bb7e
)
git-completion.bash: stash-show: complete $__git_diff_common_options
author
Robert Karszniewicz
<redacted>
Tue, 6 Oct 2020 22:06:37 +0000
(
00:06
+0200)
committer
Junio C Hamano
<redacted>
Wed, 7 Oct 2020 17:54:02 +0000
(10:54 -0700)
Signed-off-by: Robert Karszniewicz <redacted>
Signed-off-by: Junio C Hamano <redacted>
contrib/completion/git-completion.bash
patch
|
blob
|
history
diff --git
a/contrib/completion/git-completion.bash
b/contrib/completion/git-completion.bash
index f363554996d8c529d2a40f07b71fd0b24416ac68..83bc64607bda0a4961145cb37e306218d7323653 100644
(file)
--- 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
git clone https://git.99rst.org/PROJECT