@matheusbsbs / matheus-bagliano / commits / 485445e22a
Fork 0

commit: stop setting rename limit

For its post-commit summary, commit was explicitly setting the default rename limit to 100. Presumably when the code was added, it was necessary to do so. These days, however, it will fall back properly to the diff default, and that default has long since changed from 100. Signed-off-by: Jeff King <peff@peff.net> Signed-off-by: Junio C Hamano <gitster@pobox.com>

Jeff King committed Feb 19, 2011 at 05:21 UTC 485445e22ab30e40a94ef5b59e46616912d01720
1 file changed -1
builtin/commit.c
-1
@@ -1215,7 +1215,6 @@ static void print_summary(const char *prefix, const unsigned char *sha1)
1215 get_commit_format(format.buf, &rev);
1216 rev.always_show_header = 0;
1217 rev.diffopt.detect_rename = 1;
1218 - rev.diffopt.rename_limit = 100;
1218 rev.diffopt.break_opt = 0;
1219 diff_setup_done(&rev.diffopt);
1220