{"thread":{"id":"32382","subject":"[PATCH] clarify -M without % symbol in diff-options","startedAt":"2012-12-18T04:15:21Z","lastAt":"2012-12-18T04:15:21Z","messageCount":1,"participants":["Sitaram Chamarty"],"isPatch":true,"patchVersion":1,"patchTotal":null},"messages":[{"id":"205106","messageId":"20121218041521.GA11616@sita-lt.atc.tcs.com","threadId":"32382","inReplyTo":null,"subject":"[PATCH] clarify -M without % symbol in diff-options","fromName":"Sitaram Chamarty","fromEmail":"sitaramc@gmail.com","sentAt":"2012-12-18T04:15:21Z","receivedAt":"2012-12-18T04:15:21Z","isPatch":true,"sender":{"key":"sitaramc@gmail.com","avatar":"https://avatars.githubusercontent.com/u/43316?v=4"},"body":"---\n Documentation/diff-options.txt | 6 +++++-\n 1 file changed, 5 insertions(+), 1 deletion(-)\n\ndiff --git a/Documentation/diff-options.txt b/Documentation/diff-options.txt\nindex f4f7e25..39f2c50 100644\n--- a/Documentation/diff-options.txt\n+++ b/Documentation/diff-options.txt\n@@ -309,7 +309,11 @@ endif::git-log[]\n \tindex (i.e. amount of addition/deletions compared to the\n \tfile's size). For example, `-M90%` means git should consider a\n \tdelete/add pair to be a rename if more than 90% of the file\n-\thasn't changed.\n+\thasn't changed.  Without a `%` sign, the number is to be read as\n+\ta fraction, with a decimal point before it.  I.e., `-M5` becomes\n+\t0.5, and is thus the same as `-M50%`.  Similarly, `-M05` is\n+\tthe same as `-M5%`.  To limit detection to exact renames, use\n+\t`-M100%`.\n \n -C[<n>]::\n --find-copies[=<n>]::\n-- \n1.7.11.7\n"}]}