From 31d66aa4084cb292b15cfdcd6ff73f22f45ab9af Mon Sep 17 00:00:00 2001 From: Sitaram Chamarty Date: Tue, 18 Dec 2012 16:17:09 +0530 Subject: [PATCH] clarify -M without % symbol in diff-options Signed-off-by: Sitaram Chamarty Signed-off-by: Junio C Hamano --- Documentation/diff-options.txt | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/Documentation/diff-options.txt b/Documentation/diff-options.txt index cf4b216598..1fb6f2d4e9 100644 --- a/Documentation/diff-options.txt +++ b/Documentation/diff-options.txt @@ -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[]:: --find-copies[=]::