[PATCH 1/2] diff: document behavior of relative diff.orderFile
- From
- Richard Hansen <hansenr@google.com>
- Date
- Jan 10, 2017, 00:40 UTC
- Message-ID
- <20170110004031.57985-2-hansenr@google.com>
- In-Reply-To
- <20170110004031.57985-1-hansenr@google.com>
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> --- Documentation/diff-config.txt | 2 ++ 1 file changed, 2 insertions(+)
diff --git a/Documentation/diff-config.txt b/Documentation/diff-config.txt index 58f4bd6af..875212045 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 work tree. Can be overridden by the '-O' option to linkgit:git-diff[1]. diff.renameLimit::
-- 2.11.0.390.gc69c2f50cf-goog