* [PATCH] bash completion: add doubledash to "git show"
@ 2008-10-31 0:04 Markus Heidelberg
0 siblings, 0 replies; only message in thread
From: Markus Heidelberg @ 2008-10-31 0:04 UTC (permalink / raw)
To: gitster; +Cc: git
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
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2008-10-31 0:05 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-10-31 0:04 [PATCH] bash completion: add doubledash to "git show" Markus Heidelberg
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox