{"thread":{"id":"25832","subject":"[PATCH] Allow tuning of the threshold for detecting renames/copies.","startedAt":"2010-11-24T14:31:04Z","lastAt":"2010-11-24T14:31:04Z","messageCount":1,"participants":["Torgny Nyblom"],"isPatch":true,"patchVersion":1,"patchTotal":null},"messages":[{"id":"156484","messageId":"20101124153104.3cc1135e@explosive.nyblom.org","threadId":"25832","inReplyTo":null,"subject":"[PATCH] Allow tuning of the threshold for detecting renames/copies.","fromName":"Torgny Nyblom","fromEmail":"kde@nyblom.org","sentAt":"2010-11-24T14:31:04Z","receivedAt":"2010-11-24T14:31:04Z","isPatch":true,"sender":{"key":"kde@nyblom.org","avatar":null},"body":"A patch originally from Jeff King, it allows tuning of the threshold for detecting renames/copies when using git log.\n\n\nFrom: Jeff King <peff@peff.net>\n\nSigned-off-by: Torgny Nyblom <kde@nyblom.org>\n---\n tree-diff.c |    1 +\n 1 files changed, 1 insertions(+), 0 deletions(-)\n\ndiff --git a/tree-diff.c b/tree-diff.c\nindex 12c9a88..378f049 100644\n--- a/tree-diff.c\n+++ b/tree-diff.c\n@@ -351,6 +351,7 @@ static void try_to_follow_renames(struct tree_desc *t1, struct tree_desc *t2, co\n \tdiff_opts.output_format = DIFF_FORMAT_NO_OUTPUT;\n \tdiff_opts.single_follow = opt->paths[0];\n \tdiff_opts.break_opt = opt->break_opt;\n+\tdiff_opts.rename_score = opt->rename_score;\n \tpaths[0] = NULL;\n \tdiff_tree_setup_paths(paths, &diff_opts);\n \tif (diff_setup_done(&diff_opts) < 0)\n-- \n1.7.1\n"}]}