Skip to content

Commit

Permalink
Merge branch 'jk/follow-rename-score' into maint
Browse files Browse the repository at this point in the history
* jk/follow-rename-score:
  use custom rename score during --follow
  • Loading branch information
Junio C Hamano committed Dec 28, 2011
2 parents 9b0b0b4 + dd98d88 commit 0d57085
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tree-diff.c
Original file line number Diff line number Diff line change
Expand Up @@ -209,6 +209,7 @@ static void try_to_follow_renames(struct tree_desc *t1, struct tree_desc *t2, co
diff_opts.output_format = DIFF_FORMAT_NO_OUTPUT;
diff_opts.single_follow = opt->pathspec.raw[0];
diff_opts.break_opt = opt->break_opt;
diff_opts.rename_score = opt->rename_score;
paths[0] = NULL;
diff_tree_setup_paths(paths, &diff_opts);
if (diff_setup_done(&diff_opts) < 0)
Expand Down

0 comments on commit 0d57085

Please sign in to comment.