summaryrefslogtreecommitdiff
path: root/Documentation/diff-config.txt
diff options
context:
space:
mode:
authorLibravatar Junio C Hamano <gitster@pobox.com>2014-01-10 10:32:42 -0800
committerLibravatar Junio C Hamano <gitster@pobox.com>2014-01-10 10:32:42 -0800
commit2da5cbd651114569b1a25d9b73c0e2afffb30aa7 (patch)
tree3aa0ed6450b24d67c0f62e756412dc2cd25e992d /Documentation/diff-config.txt
parentMerge branch 'bc/log-decoration' (diff)
parentdiff: add diff.orderfile configuration variable (diff)
downloadtgif-2da5cbd651114569b1a25d9b73c0e2afffb30aa7.tar.xz
Merge branch 'sb/diff-orderfile-config'
Allow "git diff -O<file>" to be configured with a new configuration variable. * sb/diff-orderfile-config: diff: add diff.orderfile configuration variable diff: let "git diff -O" read orderfile from any file and fail properly t4056: add new tests for "git diff -O"
Diffstat (limited to 'Documentation/diff-config.txt')
-rw-r--r--Documentation/diff-config.txt5
1 files changed, 5 insertions, 0 deletions
diff --git a/Documentation/diff-config.txt b/Documentation/diff-config.txt
index 223b9310df..f07b4513ed 100644
--- a/Documentation/diff-config.txt
+++ b/Documentation/diff-config.txt
@@ -98,6 +98,11 @@ diff.mnemonicprefix::
diff.noprefix::
If set, 'git diff' does not show any source or destination prefix.
+diff.orderfile::
+ File indicating how to order files within a diff, using
+ one shell glob pattern per line.
+ Can be overridden by the '-O' option to linkgit:git-diff[1].
+
diff.renameLimit::
The number of files to consider when performing the copy/rename
detection; equivalent to the 'git diff' option '-l'.