builtin-blame.c: remove unneeded memclr()
[gitweb.git] / builtin-commit.c
index 518ebe0347e631c72f4e2a83b948259ee20fd213..0a9101324f422e90651d612666a06a138d06507b 100644 (file)
@@ -662,6 +662,10 @@ static void print_summary(const char *prefix, const unsigned char *sha1)
        rev.show_root_diff = 1;
        rev.commit_format = get_commit_format("format:%h: %s");
        rev.always_show_header = 0;
+       rev.diffopt.detect_rename = 1;
+       rev.diffopt.rename_limit = 100;
+       rev.diffopt.break_opt = 0;
+       diff_setup_done(&rev.diffopt);
 
        printf("Created %scommit ", initial_commit ? "initial " : "");