Skip to content

Commit cd332b2

Browse files
committed
Merge branch 'pb/doc-external-diff-env'
Doc update. * pb/doc-external-diff-env: git.txt: correct stale 'GIT_EXTERNAL_DIFF' description
2 parents 56b891e + 17bae89 commit cd332b2

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

Documentation/diff-generate-patch.txt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,8 @@ linkgit:git-diff-tree[1], or
1010
linkgit:git-diff-files[1]
1111
with the `-p` option produces patch text.
1212
You can customize the creation of patch text via the
13-
`GIT_EXTERNAL_DIFF` and the `GIT_DIFF_OPTS` environment variables.
13+
`GIT_EXTERNAL_DIFF` and the `GIT_DIFF_OPTS` environment variables
14+
(see linkgit:git[1]).
1415

1516
What the -p option produces is slightly different from the traditional
1617
diff format:

Documentation/git.txt

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -551,8 +551,9 @@ Git Diffs
551551

552552
`GIT_EXTERNAL_DIFF`::
553553
When the environment variable `GIT_EXTERNAL_DIFF` is set, the
554-
program named by it is called, instead of the diff invocation
555-
described above. For a path that is added, removed, or modified,
554+
program named by it is called to generate diffs, and Git
555+
does not use its builtin diff machinery.
556+
For a path that is added, removed, or modified,
556557
`GIT_EXTERNAL_DIFF` is called with 7 parameters:
557558

558559
path old-file old-hex old-mode new-file new-hex new-mode

0 commit comments

Comments
 (0)