]> asedeno.scripts.mit.edu Git - git.git/blobdiff - Documentation/diff-options.txt
Diff: -l<num> to limit rename/copy detection.
[git.git] / Documentation / diff-options.txt
index 58b9c46c20a6998e5b5abb3e1e396f51d820ace1..616d4a41220953236749fe6c0abcab2be57d7456 100644 (file)
@@ -5,9 +5,9 @@
        Synonym for "-p".
 
 -r::
-       Look recursivelly in subdirectories; this flag does not
+       Look recursively in subdirectories; this flag does not
        mean anything to commands other than "git-diff-tree";
-       other commands always looks at all the subdirectories.
+       other diff commands always look at all the subdirectories.
 
 -z::
        \0 line termination on output
        copy.  This is a very expensive operation for large
        projects, so use it with caution.
 
+-l<num>::
+       -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.
+
 -S<string>::
        Look for differences that contains the change in <string>.
 
@@ -51,3 +58,5 @@
        Swap two inputs; that is, show differences from cache or
        on-disk file to tree contents.
 
+For more detailed explanation on these common options, see also
+link:diffcore.html[diffcore documentation].