From: Richard Hansen Date: Wed, 11 Jan 2017 01:57:19 GMT Subject: [PATCH v2 1/2] diff: document behavior of relative diff.orderFile Message-ID: <20170111015720.111223-2-hansenr@google.com> In-Reply-To: <20170111015720.111223-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 --- 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