diff options
author | Junio C Hamano <gitster@pobox.com> | 2010-05-21 04:02:23 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2010-05-21 04:02:23 -0700 |
commit | 82c531b3b6d24040443ba739e150bc06ecc762ea (patch) | |
tree | de6a17434e48ee7866941e2e5491d9cf4d9b96e1 /tree-diff.c | |
parent | 82e7ee7351d6e328294016d3b99825d8001abd24 (diff) | |
parent | 9feeaa2bf39aed4a0148296f504f88b09b8901d4 (diff) | |
download | git-82c531b3b6d24040443ba739e150bc06ecc762ea.tar.gz |
Merge branch 'by/log-follow'
* by/log-follow:
tests: rename duplicate t4205
Make git log --follow find copies among unmodified files.
Make diffcore_std only can run once before a diff_flush
Add a macro DIFF_QUEUE_CLEAR.
Diffstat (limited to 'tree-diff.c')
-rw-r--r-- | tree-diff.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tree-diff.c b/tree-diff.c index fe9f52c479..1fb3e94614 100644 --- a/tree-diff.c +++ b/tree-diff.c @@ -346,7 +346,7 @@ static void try_to_follow_renames(struct tree_desc *t1, struct tree_desc *t2, co diff_setup(&diff_opts); DIFF_OPT_SET(&diff_opts, RECURSIVE); - diff_opts.detect_rename = DIFF_DETECT_RENAME; + DIFF_OPT_SET(&diff_opts, FIND_COPIES_HARDER); diff_opts.output_format = DIFF_FORMAT_NO_OUTPUT; diff_opts.single_follow = opt->paths[0]; diff_opts.break_opt = opt->break_opt; |