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

[RESEND PATCH v3 3/3] doc: document diff/merge.guitool config keys

From
Denton Liu <liu.denton@gmail.com>
Date
Oct 26, 2018, 06:11 UTC
Message-ID
<20181026061134.GA7311@archbookpro.localdomain>
In-Reply-To
<cover.1540398076.git.liu.denton@gmail.com>
Signed-off-by: Denton Liu <liu.denton@gmail.com>
---
 Documentation/diff-config.txt  | 8 ++++++++
 Documentation/merge-config.txt | 6 ++++++
 2 files changed, 14 insertions(+)
diff --git a/Documentation/diff-config.txt b/Documentation/diff-config.txt
index 85bca83c3..e64d983c3 100644
--- a/Documentation/diff-config.txt
+++ b/Documentation/diff-config.txt
@@ -177,6 +177,14 @@ diff.tool::
 	Any other value is treated as a custom diff tool and requires
 	that a corresponding difftool.<tool>.cmd variable is defined.
 
+diff.guitool::
+	Controls which diff tool is used by linkgit:git-difftool[1] when
+	the -g/--gui flag is specified. This variable overrides the value
+	configured in `merge.guitool`. The list below shows the valid
+	built-in values. Any other value is treated as a custom diff tool
+	and requires that a corresponding difftool.<guitool>.cmd variable
+	is defined.
+
 include::mergetools-diff.txt[]
 
 diff.indentHeuristic::
diff --git a/Documentation/merge-config.txt b/Documentation/merge-config.txt
index 662c2713c..a7f4ea90c 100644
--- a/Documentation/merge-config.txt
+++ b/Documentation/merge-config.txt
@@ -63,6 +63,12 @@ merge.tool::
 	Any other value is treated as a custom merge tool and requires
 	that a corresponding mergetool.<tool>.cmd variable is defined.
 
+merge.guitool::
+	Controls which merge tool is used by linkgit:git-mergetool[1] when the
+	-g/--gui flag is specified. The list below shows the valid built-in values.
+	Any other value is treated as a custom merge tool and requires that a
+	corresponding mergetool.<guitool>.cmd variable is defined.
+
 include::mergetools-merge.txt[]
 
 merge.verbosity::
-- 
2.19.1
Previous: Denton LiuNext: Denton Liu
Message 14 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.