Skip to content

Commit 8240943

Browse files
frasertweedalegitster
authored andcommitted
diff-options: document default similarity index
The default similarity index of 50% is documented in gitdiffcore(7) but it is worth also mentioning it in the description of the -M/--find-renames option. Signed-off-by: Fraser Tweedale <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent 5d41784 commit 8240943

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Documentation/diff-options.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -313,7 +313,7 @@ endif::git-log[]
313313
a fraction, with a decimal point before it. I.e., `-M5` becomes
314314
0.5, and is thus the same as `-M50%`. Similarly, `-M05` is
315315
the same as `-M5%`. To limit detection to exact renames, use
316-
`-M100%`.
316+
`-M100%`. The default similarity index is 50%.
317317

318318
-C[<n>]::
319319
--find-copies[=<n>]::

0 commit comments

Comments
 (0)