Merge branch 'jc/same-encoding' into maint
[git.git] / Documentation / diff-options.txt
index f4f7e250c53c8fc51e17d5643b5b3b93d4036efc..39f2c5074c1ac370976bce36cbceb1a676064cfe 100644 (file)
@@ -309,7 +309,11 @@ endif::git-log[]
        index (i.e. amount of addition/deletions compared to the
        file's size). For example, `-M90%` means git should consider a
        delete/add pair to be a rename if more than 90% of the file
-       hasn't changed.
+       hasn't changed.  Without a `%` sign, the number is to be read as
+       a fraction, with a decimal point before it.  I.e., `-M5` becomes
+       0.5, and is thus the same as `-M50%`.  Similarly, `-M05` is
+       the same as `-M5%`.  To limit detection to exact renames, use
+       `-M100%`.
 
 -C[<n>]::
 --find-copies[=<n>]::