Skip to content

Commit 0d57085

Browse files
committed
Merge branch 'jk/follow-rename-score' into maint
* jk/follow-rename-score: use custom rename score during --follow
2 parents 9b0b0b4 + dd98d88 commit 0d57085

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

tree-diff.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -209,6 +209,7 @@ static void try_to_follow_renames(struct tree_desc *t1, struct tree_desc *t2, co
209209
diff_opts.output_format = DIFF_FORMAT_NO_OUTPUT;
210210
diff_opts.single_follow = opt->pathspec.raw[0];
211211
diff_opts.break_opt = opt->break_opt;
212+
diff_opts.rename_score = opt->rename_score;
212213
paths[0] = NULL;
213214
diff_tree_setup_paths(paths, &diff_opts);
214215
if (diff_setup_done(&diff_opts) < 0)

0 commit comments

Comments
 (0)