Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.kernel.org/pub/scm/git/git.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2020-06-02 23:35:04 +0300
committerJunio C Hamano <gitster@pobox.com>2020-06-02 23:35:04 +0300
commite34df9a6e591be60172e3308b429bd7d243dfce8 (patch)
tree4dadc0cddfb66b677cc4d624bdcc569ee4e55697 /Documentation/config
parentde82fb45db72fb425fd5d4af81955e48349c2816 (diff)
parentc28ded83fc95be8157c851c8be179733a7d4b137 (diff)
Merge branch 'la/diff-relative-config'
The commands in the "diff" family learned to honor "diff.relative" configuration variable. * la/diff-relative-config: diff: add config option relative
Diffstat (limited to 'Documentation/config')
-rw-r--r--Documentation/config/diff.txt4
1 files changed, 4 insertions, 0 deletions
diff --git a/Documentation/config/diff.txt b/Documentation/config/diff.txt
index ff09f1cf73..c3ae136eba 100644
--- a/Documentation/config/diff.txt
+++ b/Documentation/config/diff.txt
@@ -105,6 +105,10 @@ diff.mnemonicPrefix::
diff.noprefix::
If set, 'git diff' does not show any source or destination prefix.
+diff.relative::
+ If set to 'true', 'git diff' does not show changes outside of the directory
+ and show pathnames relative to the current directory.
+
diff.orderFile::
File indicating how to order files within a diff.
See the '-O' option to linkgit:git-diff[1] for details.