Skip to content

Commit

Permalink
clarify -M without % symbol in diff-options
Browse files Browse the repository at this point in the history
Signed-off-by: Sitaram Chamarty <[email protected]>
Signed-off-by: Junio C Hamano <[email protected]>
  • Loading branch information
sitaramc authored and gitster committed Dec 18, 2012
1 parent bdd478d commit 31d66aa
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion Documentation/diff-options.txt
Original file line number Diff line number Diff line change
Expand Up @@ -308,7 +308,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>]::
Expand Down

0 comments on commit 31d66aa

Please sign in to comment.