From: Jeff King Date: Sat, 19 Feb 2011 10:21:57 +0000 (-0500) Subject: commit: stop setting rename limit X-Git-Tag: v1.7.5-rc0~60^2~3 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=485445e22ab30e40a94ef5b59e46616912d01720;p=git.git 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 Signed-off-by: Junio C Hamano --- diff --git a/builtin/commit.c b/builtin/commit.c index 03cff5af6..9f6b3cb82 100644 --- a/builtin/commit.c +++ b/builtin/commit.c @@ -1215,7 +1215,6 @@ static void print_summary(const char *prefix, const unsigned char *sha1) get_commit_format(format.buf, &rev); 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);