DORMANTno replies

[PATCH 2/9] add missing long options to 'git difftool' completion

From: Emmanuel Trillaud <hidden>
Date: 2016-06-15 22:47:12

according to its man page, git-difftool has 3 long options :
--tools=, --no-prompt and --prompt. The last 2 options are missing.

Signed-off-by: Emmanuel Trillaud <redacted>
---
 contrib/completion/git-completion.bash |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/contrib/completion/git-completion.bash
b/contrib/completion/git-completion.bash
index bc5427f..9e86d28 100755
--- a/contrib/completion/git-completion.bash
+++ b/contrib/completion/git-completion.bash
@@ -960,7 +960,7 @@ _git_difftool ()
 		return
 		;;
 	--*)
-		__gitcomp "--tool="
+		__gitcomp "--tool= --no-prompt --prompt"
 		return
 		;;
 	esac
-- 
1.6.4
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help