git/list[1] front-page[2] threads[3] people[4] search[5] about
 

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

From
ETEmmanuel Trillaud <etrillaud@gmail.com>
Date
Aug 8, 2009, 08:55 UTC
Message-ID
<9f50533b0908080155w55c89c36l6237c93f7ac00383@mail.gmail.com>

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 <etrillaud@gmail.com>
---
 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
Message 1 of 1 in “add missing long options to 'git difftool' completion”
  1. 2/9 add missing long options to 'git difftool' completionEmmanuel Trillaud, Aug 8, 2009

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.