[PATCH 3/4] commit: stop setting rename limit
- From
Jeff King <peff@peff.net>
- Date
- Feb 19, 2011, 10:21 UTC
- Message-ID
- <20110219102157.GC22508@sigill.intra.peff.net>
- In-Reply-To
- <20110219101936.GB20577@sigill.intra.peff.net>
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> --- builtin/commit.c | 1 - 1 files changed, 0 insertions(+), 1 deletions(-)
diff --git a/builtin/commit.c b/builtin/commit.c index d7f55e3..aa1510e 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);
-- 1.7.4.1.26.g5e991