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

[PATCH] Document diff.external and mergetool.<tool>.path

From
Johannes Schindelin <johannes.schindelin@gmx.de>
Date
Dec 17, 2007, 12:21 UTC
Message-ID
<Pine.LNX.4.64.0712171220540.9446@racer.site>
In-Reply-To
<E6DFE65BB5ADFE44BE13CCC976124447D5BB8D@fue-email2.ad.mc.com>

There was no documentation for the config variables diff.external and mergetool.<tool>.path.

Noticed by Sebastian Schuberth.
Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
---
 Documentation/config.txt |   11 +++++++++++
 1 files changed, 11 insertions(+), 0 deletions(-)
diff --git a/Documentation/config.txt b/Documentation/config.txt
index ce16fc7..8a0df57 100644
--- a/Documentation/config.txt
+++ b/Documentation/config.txt
@@ -448,6 +448,13 @@ diff.autorefreshindex::
 	affects only `git diff` Porcelain, and not lower level
 	`diff` commands, such as `git diff-files`.
 
+diff.external::
+	If this config variable is set, diff generation is not
+	performed using the internal diff machinery, but using the
+	given command.  Note: if you want to use an external diff
+	program only on a subset of your files, you might want to
+	use gitlink:gitattributes[5] instead.
+
 diff.renameLimit::
 	The number of files to consider when performing the copy/rename
 	detection; equivalent to the git diff option '-l'.
@@ -671,6 +678,10 @@ merge.<driver>.recursive::
 	performing an internal merge between common ancestors.
 	See gitlink:gitattributes[5] for details.
 
+mergetool.<tool>.path::
+	Override the path for the given tool.  This is useful in case
+	your tool is not in the PATH.
+
 pack.window::
 	The size of the window used by gitlink:git-pack-objects[1] when no
 	window size is given on the command line. Defaults to 10.
-- 
1.5.4.rc0.36.g7680
Next: Johannes Schindelin
Message 1 of 6 in “Document diff.external and mergetool.<tool>.path”
  1. Document diff.external and mergetool.<tool>.pathJohannes Schindelin, Dec 17, 2007
  2. Actually add config variable diff.externalJohannes Schindelin, Dec 17, 2007
  3. Junio C HamanoDec 18, 2007
  4. Johannes SchindelinDec 18, 2007
  5. Junio C HamanoDec 18, 2007
  6. Johannes SchindelinDec 18, 2007

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.