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:
111539a
)
bash completion: add doubledash to "git show"
author
Markus Heidelberg
<redacted>
Fri, 31 Oct 2008 00:04:46 +0000
(
01:04
+0100)
committer
Junio C Hamano
<redacted>
Fri, 31 Oct 2008 07:46:27 +0000
(
00:46
-0700)
Signed-off-by: Markus Heidelberg <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 751e273e1aeecd382bc584fcb80b2ed6f52ed862..39a1ce5a3979e6160b8450a0d9dd08ec6b6cd7a2 100755
(executable)
--- a/
contrib/completion/git-completion.bash
+++ b/
contrib/completion/git-completion.bash
@@
-1410,6
+1410,8
@@
_git_shortlog ()
_git_show ()
{
+ __git_has_doubledash && return
+
local cur="${COMP_WORDS[COMP_CWORD]}"
case "$cur" in
--pretty=*)
git clone https://git.99rst.org/PROJECT