summaryrefslogtreecommitdiff
path: root/builtin/commit.c
diff options
context:
space:
mode:
authorJeff King <peff@peff.net>2011-02-19 05:21:57 -0500
committerJunio C Hamano <gitster@pobox.com>2011-02-21 10:23:41 -0800
commit485445e22ab30e40a94ef5b59e46616912d01720 (patch)
treec28e1f5bdc0671efea8cd379f4588684cf440653 /builtin/commit.c
parent92c57e5c1d29db96a927e2a713c5aa4ae99ce749 (diff)
downloadgit-485445e22ab30e40a94ef5b59e46616912d01720.tar.gz
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>
Diffstat (limited to 'builtin/commit.c')
-rw-r--r--builtin/commit.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/builtin/commit.c b/builtin/commit.c
index 03cff5af63..9f6b3cb82a 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);