summaryrefslogtreecommitdiff
path: root/Documentation
diff options
context:
space:
mode:
authorRichard Hansen <hansenr@google.com>2017-01-15 22:16:30 (GMT)
committerJunio C Hamano <gitster@pobox.com>2017-01-16 00:39:12 (GMT)
commit1a5fccc0c26b4a8abafd85a73558022e65f6f8cf (patch)
tree6d09751739abbd63882f85c28c282327e81a7f43 /Documentation
parenta274e0a036ea886a31f8b216564ab1b4a3142f6c (diff)
downloadgit-1a5fccc0c26b4a8abafd85a73558022e65f6f8cf.zip
git-1a5fccc0c26b4a8abafd85a73558022e65f6f8cf.tar.gz
git-1a5fccc0c26b4a8abafd85a73558022e65f6f8cf.tar.bz2
diff: document behavior of relative diff.orderFile
Document that a relative pathname for diff.orderFile is interpreted as relative to the top-level work directory. Signed-off-by: Richard Hansen <hansenr@google.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'Documentation')
-rw-r--r--Documentation/diff-config.txt2
1 files changed, 2 insertions, 0 deletions
diff --git a/Documentation/diff-config.txt b/Documentation/diff-config.txt
index 58f4bd6..bf95585 100644
--- a/Documentation/diff-config.txt
+++ b/Documentation/diff-config.txt
@@ -101,6 +101,8 @@ diff.noprefix::
diff.orderFile::
File indicating how to order files within a diff, using
one shell glob pattern per line.
+ If `diff.orderFile` is a relative pathname, it is treated as
+ relative to the top of the working tree.
Can be overridden by the '-O' option to linkgit:git-diff[1].
diff.renameLimit::