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

[PATCH v3 2/3] completion: support `git mergetool --[no-]gui`

From
Denton Liu <liu.denton@gmail.com>
Date
Oct 24, 2018, 16:25 UTC
Message-ID
<e0b0585a17bb0b3f43fd930b449b9bc631d58f0f.1540398076.git.liu.denton@gmail.com>
In-Reply-To
<cover.1540398076.git.liu.denton@gmail.com>
Signed-off-by: Denton Liu <liu.denton@gmail.com>
Signed-off-by: Anmol Mago <anmolmago@gmail.com>
Signed-off-by: Brian Ho <briankyho@gmail.com>
Signed-off-by: David Lu <david.lu97@outlook.com>
Signed-off-by: Ryan Wang <shirui.wang@hotmail.com>
---
 contrib/completion/git-completion.bash | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/contrib/completion/git-completion.bash b/contrib/completion/git-completion.bash
index db7fd87b6..a45b4a050 100644
--- a/contrib/completion/git-completion.bash
+++ b/contrib/completion/git-completion.bash
@@ -1833,7 +1833,7 @@ _git_mergetool ()
 		return
 		;;
 	--*)
-		__gitcomp "--tool= --prompt --no-prompt"
+		__gitcomp "--tool= --prompt --no-prompt --gui --no-gui"
 		return
 		;;
 	esac
-- 
2.19.1.544.ge0b0585a1.dirty
Previous: Denton LiuNext: Denton Liu
Message 8 of 15 in “mergetool: Accept -g/--[no-]gui as arguments”
  1. 1/2 mergetool: Accept -g/--[no-]gui as argumentsDenton Liu, Oct 24, 2018
  2. Junio C HamanoOct 24, 2018
  3. Denton LiuOct 24, 2018
  4. David AguilarOct 24, 2018
  5. 1/2 mergetool: accept -g/--[no-]gui as argumentsDenton Liu, Oct 24, 2018
  6. 0/3 Add --gui to mergetoolDenton Liu, Oct 24, 2018
  7. 1/3 mergetool: accept -g/--[no-]gui as argumentsDenton Liu, Oct 24, 2018
  8. 2/3 completion: support `git mergetool --[no-]gui`Denton Liu, Oct 24, 2018
  9. 3/3 doc: document diff/merge.guitool config keysDenton Liu, Oct 24, 2018
  10. 0/3 Add --gui to mergetoolDenton Liu, Oct 26, 2018
  11. Junio C HamanoOct 26, 2018
  12. 1/3 mergetool: accept -g/--[no-]gui as argumentsDenton Liu, Oct 26, 2018
  13. 2/3 completion: support `git mergetool --[no-]gui`Denton Liu, Oct 26, 2018
  14. 3/3 doc: document diff/merge.guitool config keysDenton Liu, Oct 26, 2018
  15. 2/2 completion: support `git mergetool --[no-]gui`Denton Liu, Oct 24, 2018

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.