Skip to content

Commit 1a5fccc

Browse files
rhansengitster
authored andcommitted
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 <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent a274e0a commit 1a5fccc

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Documentation/diff-config.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -101,6 +101,8 @@ diff.noprefix::
101101
diff.orderFile::
102102
File indicating how to order files within a diff, using
103103
one shell glob pattern per line.
104+
If `diff.orderFile` is a relative pathname, it is treated as
105+
relative to the top of the working tree.
104106
Can be overridden by the '-O' option to linkgit:git-diff[1].
105107

106108
diff.renameLimit::

0 commit comments

Comments
 (0)