path: root/Documentation/diff-options.txt
diff options
authorJunio C Hamano <>2005-09-21 07:18:27 (GMT)
committerJunio C Hamano <>2005-09-25 06:50:44 (GMT)
commit8082d8d3050e3fdd7b0f13c7a7b3ad68af7f478a (patch)
tree6939780586028325f91f5193c56ba42eafef179c /Documentation/diff-options.txt
parent6b5ee137e56af8093391411389dd4b18416707ec (diff)
Diff: -l<num> to limit rename/copy detection.
When many paths are modified, rename detection takes a lot of time. The new option -l<num> can be used to disable rename detection when more than <num> paths are possibly created as renames. Signed-off-by: Junio C Hamano <>
Diffstat (limited to 'Documentation/diff-options.txt')
1 files changed, 7 insertions, 0 deletions
diff --git a/Documentation/diff-options.txt b/Documentation/diff-options.txt
index 48cf93c..616d4a4 100644
--- a/Documentation/diff-options.txt
+++ b/Documentation/diff-options.txt
@@ -35,6 +35,13 @@
copy. This is a very expensive operation for large
projects, so use it with caution.
+ -M and -C options require O(n^2) processing time where n
+ in the number of potential rename/copy targets. This
+ option prevents rename/copy detection from running if
+ the number of rename/copy targets exceed the specified
+ number.
Look for differences that contains the change in <string>.