summaryrefslogtreecommitdiffstats
path: root/git-diff-files.html
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 /git-diff-files.html
parent3c27de63e121444e76e7178a4f5bdc73cfccb416 (diff)
downloadgit-htmldocs-20cf493fa70faeee54b449ba267598e3b3982edb.tar.gz
Autogenerated HTML docs for v2.32.0-452-g940fe
Diffstat (limited to 'git-diff-files.html')
-rw-r--r--git-diff-files.html16
1 files changed, 11 insertions, 5 deletions
diff --git a/git-diff-files.html b/git-diff-files.html
index ec72c19e6..b41d138ef 100644
--- a/git-diff-files.html
+++ b/git-diff-files.html
@@ -1621,11 +1621,17 @@ of a delete/create pair.</p></div>
</dt>
<dd>
<p>
- The <code>-M</code> and <code>-C</code> 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 <code>-M</code> and <code>-C</code> 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.
</p>
</dd>
<dt class="hdlist1">