Skip to contentSkip to conversation

bash completion: add doubledash to "git show"

PATCH New Markus Heidelberg 1 participant 1 message Jun 15, 2016

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 bash completion: add doubledash to "git show"

---
 contrib/completion/git-completion.bash |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
contrib/completion/git-completion.bash +2 -0
index eebe734..de193ba 100755
@@ -1398,6 +1398,8 @@ _git_shortlog ()
 
 _git_show ()
 {
+	__git_has_doubledash && return
+
 	local cur="${COMP_WORDS[COMP_CWORD]}"
 	case "$cur" in
 	--pretty=*)
Signature · 1 line
1.6.0.3.524.g3adb7d