{"thread":{"id":"34351","subject":"[PATCH] diff-options: document default similarity index","startedAt":"2013-07-05T08:42:17Z","lastAt":"2013-07-05T10:00:13Z","messageCount":3,"participants":["Fraser Tweedale","Junio C Hamano"],"isPatch":true,"patchVersion":1,"patchTotal":null},"messages":[{"id":"222610","messageId":"1373013737-2448-1-git-send-email-frase@frase.id.au","threadId":"34351","inReplyTo":null,"subject":"[PATCH] diff-options: document default similarity index","fromName":"Fraser Tweedale","fromEmail":"frase@frase.id.au","sentAt":"2013-07-05T08:42:17Z","receivedAt":"2013-07-05T08:42:17Z","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 a85288f..d6e4db4 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":"222616","messageId":"7vbo6h8jpj.fsf@alter.siamese.dyndns.org","threadId":"34351","inReplyTo":"1373013737-2448-1-git-send-email-frase@frase.id.au","subject":"Re: [PATCH] diff-options: document default similarity index","fromName":"Junio C Hamano","fromEmail":"gitster@pobox.com","sentAt":"2013-07-05T09:00:40Z","receivedAt":"2013-07-05T09:00:40Z","isPatch":true,"sender":{"key":"gitster@pobox.com","avatar":"https://avatars.githubusercontent.com/u/54884?v=4"},"body":"Fraser Tweedale <frase@frase.id.au> writes:\n\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\nIs it?  I am not sure if it is worth it.\n"},{"id":"222618","messageId":"20130705100012.GR2457@bacardi.hollandpark.frase.id.au","threadId":"34351","inReplyTo":"7vbo6h8jpj.fsf@alter.siamese.dyndns.org","subject":"Re: [PATCH] diff-options: document default similarity index","fromName":"Fraser Tweedale","fromEmail":"frase@frase.id.au","sentAt":"2013-07-05T10:00:13Z","receivedAt":"2013-07-05T10:00:13Z","isPatch":true,"sender":{"key":"frase@frase.id.au","avatar":"https://avatars.githubusercontent.com/u/2331938?v=4"},"body":"On Fri, Jul 05, 2013 at 02:00:40AM -0700, Junio C Hamano wrote:\n> Fraser Tweedale <frase@frase.id.au> writes:\n> \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> \n> Is it?  I am not sure if it is worth it.\n\nThe -M description goes on at some length to explain how to specify\na particular value.  Surely a brief mention of the default value is\nalso warranted, especially since the pointer to gitdiffcore(7) for a\nmore detailed explanation of the options appears quite a way below.\n"}]}