# [PATCH] bash completion: add doubledash to "git show"

1 messages from 2008-10-31 to 2008-10-31. Participants: Markus Heidelberg.
Thread: https://gitlist.dev/t/16103

## Markus Heidelberg, 2008-10-31 00:04

Subject: [PATCH] bash completion: add doubledash to "git show"
Message-ID: <200810310104.47201.markus.heidelberg@web.de>
URL: https://gitlist.dev/e/200810310104.47201.markus.heidelberg%40web.de

```
Signed-off-by: Markus Heidelberg <markus.heidelberg@web.de>
---
 contrib/completion/git-completion.bash |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/contrib/completion/git-completion.bash b/contrib/completion/git-completion.bash
index eebe734..de193ba 100755
--- a/contrib/completion/git-completion.bash
+++ b/contrib/completion/git-completion.bash
@@ -1398,6 +1398,8 @@ _git_shortlog ()
 
 _git_show ()
 {
+	__git_has_doubledash && return
+
 	local cur="${COMP_WORDS[COMP_CWORD]}"
 	case "$cur" in
 	--pretty=*)
-- 
1.6.0.3.524.g3adb7d

```
