Skip to content

Commit b7cd0c9

Browse files
committed
Sync with 'maint'
2 parents 2e90029 + 8e8c881 commit b7cd0c9

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

Documentation/diff-options.txt

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -309,7 +309,11 @@ endif::git-log[]
309309
index (i.e. amount of addition/deletions compared to the
310310
file's size). For example, `-M90%` means git should consider a
311311
delete/add pair to be a rename if more than 90% of the file
312-
hasn't changed.
312+
hasn't changed. Without a `%` sign, the number is to be read as
313+
a fraction, with a decimal point before it. I.e., `-M5` becomes
314+
0.5, and is thus the same as `-M50%`. Similarly, `-M05` is
315+
the same as `-M5%`. To limit detection to exact renames, use
316+
`-M100%`.
313317

314318
-C[<n>]::
315319
--find-copies[=<n>]::

0 commit comments

Comments
 (0)