threads / patch / 20474

patch, 9 partsadd missing long options to 'git mergetool' completion

Subject: [PATCH 3/9] add missing long options to 'git mergetool' completion

## tl;dr

One message between Aug 8, 2009 and Aug 8, 2009. Diffs are folded; open one to read it.

replies: 0people: 1as markdown or json

Emmanuel Trillaud· Aug 8, 2009, 08:56 UTC · lore

according to the git-mergetool man page, '--no-prompt' and '--prompt' are missing from the 'git mergetool' completion

Signed-off-by: Emmanuel Trillaud <etrillaud@gmail.com>
---
 contrib/completion/git-completion.bash |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
Show changes to contrib/completion/git-completion.bash +1 −1
diff --git a/contrib/completion/git-completion.bash
b/contrib/completion/git-completion.bash
index 9e86d28..f56733b 100755
--- a/contrib/completion/git-completion.bash
+++ b/contrib/completion/git-completion.bash
@@ -1232,7 +1232,7 @@ _git_mergetool ()
 		return
 		;;
 	--*)
-		__gitcomp "--tool="
+		__gitcomp "--tool= --no-prompt --prompt"
 		return
 		;;
 	esac
-- 
1.6.4

← back to recent threads