{"thread":{"id":"34262","subject":"[PATCH] diff-options: document default similarity index","startedAt":"2013-06-24T11:17:12Z","lastAt":"2013-06-24T16:27:33Z","messageCount":2,"participants":["Fraser Tweedale","Ramkumar Ramachandra"],"isPatch":true,"patchVersion":1,"patchTotal":null},"messages":[{"id":"221783","messageId":"1372072632-27313-1-git-send-email-frase@frase.id.au","threadId":"34262","inReplyTo":null,"subject":"[PATCH] diff-options: document default similarity index","fromName":"Fraser Tweedale","fromEmail":"frase@frase.id.au","sentAt":"2013-06-24T11:17:12Z","receivedAt":"2013-06-24T11:17:12Z","isPatch":true,"sender":{"key":"frase@frase.id.au","avatar":"https://avatars.githubusercontent.com/u/2331938?v=4"},"body":"The default similarity index of 50% is documented in gitdiffcore(7)\nbut it is worth also mentioning it in the description of the\n-M/--find-renames option.\n\nSigned-off-by: Fraser Tweedale <frase@frase.id.au>\n---\n Documentation/diff-options.txt | 2 +-\n 1 file changed, 1 insertion(+), 1 deletion(-)\n\ndiff --git a/Documentation/diff-options.txt b/Documentation/diff-options.txt\nindex b8a9b86..69bb3a6 100644\n--- a/Documentation/diff-options.txt\n+++ b/Documentation/diff-options.txt\n@@ -333,7 +333,7 @@ endif::git-log[]\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+\t`-M100%`.  The default similarity index is 50%.\n \n -C[<n>]::\n --find-copies[=<n>]::\n-- \n1.8.3.1\n"},{"id":"221827","messageId":"CALkWK0k7VZxKx5OMvPE1wJ5qDxDp7BVVah8ajbmuhkvP+geLQQ@mail.gmail.com","threadId":"34262","inReplyTo":"1372072632-27313-1-git-send-email-frase@frase.id.au","subject":"Re: [PATCH] diff-options: document default similarity index","fromName":"Ramkumar Ramachandra","fromEmail":"artagnon@gmail.com","sentAt":"2013-06-24T16:27:33Z","receivedAt":"2013-06-24T16:27:33Z","isPatch":true,"sender":{"key":"r@artagnon.com","avatar":"https://avatars.githubusercontent.com/u/37226?v=4"},"body":"Fraser Tweedale wrote:\n> The default similarity index of 50% is documented in gitdiffcore(7)\n> but it is worth also mentioning it in the description of the\n> -M/--find-renames option.\n\nLooks good from a quick look at diffcore.h:\n\n#define DEFAULT_RENAME_SCORE 30000 /* rename/copy similarity minimum (50%) */\n"}]}