summaryrefslogtreecommitdiffstats
path: root/diff-options.txt
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2021-07-28 14:02:52 -0700
committerJunio C Hamano <gitster@pobox.com>2021-07-28 14:02:52 -0700
commit20cf493fa70faeee54b449ba267598e3b3982edb (patch)
tree9639e3f02bbf40815f887b3a346fd3d9a10e9886 /diff-options.txt
parent3c27de63e121444e76e7178a4f5bdc73cfccb416 (diff)
downloadgit-htmldocs-20cf493fa70faeee54b449ba267598e3b3982edb.tar.gz
Autogenerated HTML docs for v2.32.0-452-g940fe
Diffstat (limited to 'diff-options.txt')
-rw-r--r--diff-options.txt16
1 files changed, 11 insertions, 5 deletions
diff --git a/diff-options.txt b/diff-options.txt
index 32e6dee5a..0aebe8320 100644
--- a/diff-options.txt
+++ b/diff-options.txt
@@ -588,11 +588,17 @@ When used together with `-B`, omit also the preimage in the deletion part
of a delete/create pair.
-l<num>::
- The `-M` and `-C` options require O(n^2) processing time where n
- is the number of potential rename/copy targets. This
- option prevents rename/copy detection from running if
- the number of rename/copy targets exceeds the specified
- number.
+ The `-M` and `-C` options involve some preliminary steps that
+ can detect subsets of renames/copies cheaply, followed by an
+ exhaustive fallback portion that compares all remaining
+ unpaired destinations to all relevant sources. (For renames,
+ only remaining unpaired sources are relevant; for copies, all
+ original sources are relevant.) For N sources and
+ destinations, this exhaustive check is O(N^2). This option
+ prevents the exhaustive portion of rename/copy detection from
+ running if the number of source/destination files involved
+ exceeds the specified number. Defaults to diff.renameLimit.
+ Note that a value of 0 is treated as unlimited.
ifndef::git-format-patch[]
--diff-filter=[(A|C|D|M|R|T|U|X|B)...[*]]::