Skip to content

Commit 77680ca

Browse files
dschogitster
authored andcommitted
Document diff.external and mergetool.<tool>.path
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> Signed-off-by: Junio C Hamano <gitster@pobox.com>
1 parent cbe0210 commit 77680ca

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

Documentation/config.txt

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -448,6 +448,13 @@ diff.autorefreshindex::
448448
affects only `git diff` Porcelain, and not lower level
449449
`diff` commands, such as `git diff-files`.
450450

451+
diff.external::
452+
If this config variable is set, diff generation is not
453+
performed using the internal diff machinery, but using the
454+
given command. Note: if you want to use an external diff
455+
program only on a subset of your files, you might want to
456+
use gitlink:gitattributes[5] instead.
457+
451458
diff.renameLimit::
452459
The number of files to consider when performing the copy/rename
453460
detection; equivalent to the git diff option '-l'.
@@ -671,6 +678,10 @@ merge.<driver>.recursive::
671678
performing an internal merge between common ancestors.
672679
See gitlink:gitattributes[5] for details.
673680

681+
mergetool.<tool>.path::
682+
Override the path for the given tool. This is useful in case
683+
your tool is not in the PATH.
684+
674685
pack.window::
675686
The size of the window used by gitlink:git-pack-objects[1] when no
676687
window size is given on the command line. Defaults to 10.

0 commit comments

Comments
 (0)