Teach --find-copies-harder to "git blame"
It's equivalent to "-C -C" with the diff family. Signed-off-by: Junio C Hamano <gitster@pobox.com>
Junio C Hamano committed
Jul 31, 2008 at 00:05 UTC
b3123f9802989d9c8184e2265a6176a6f5aeed71
1 file changed
+4
builtin-blame.c
+4
@@ -2346,6 +2346,10 @@ int cmd_blame(int argc, const char **argv, const char *prefix)
2346
parse_done:
2347
argc = parse_options_end(&ctx);
2348
2349
+ if (DIFF_OPT_TST(&revs.diffopt, FIND_COPIES_HARDER))
2350
+ opt |= (PICKAXE_BLAME_COPY | PICKAXE_BLAME_MOVE |
2351
+ PICKAXE_BLAME_COPY_HARDER);
2352
+
2353
if (!blame_move_score)
2354
blame_move_score = BLAME_DEFAULT_MOVE_SCORE;
2355
if (!blame_copy_score)