Merge branch 'nd/ita-wt-renames-in-status'
[gitweb.git] / builtin / commit.c
index 8a877014145435516930c787dec37b8c4ac3da90..1f11e3992db512084b6ad834d69ac6d2de0a8c1c 100644 (file)
@@ -1507,7 +1507,7 @@ static void print_summary(const char *prefix, const struct object_id *oid,
        rev.show_root_diff = 1;
        get_commit_format(format.buf, &rev);
        rev.always_show_header = 0;
-       rev.diffopt.detect_rename = 1;
+       rev.diffopt.detect_rename = DIFF_DETECT_RENAME;
        rev.diffopt.break_opt = 0;
        diff_setup_done(&rev.diffopt);