author | Jeff King <peff@peff.net> | |
Wed, 30 Apr 2008 17:24:43 +0000 (13:24 -0400) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Sat, 3 May 2008 20:39:53 +0000 (13:39 -0700) | ||
commit | 50705915eae89eae490dff30fa370ed02e4d6e72 | |
tree | b4a1ce7f2fac328e9d54e589461bd4468508ce9a | tree | snapshot |
parent | 2a2ac926547bc4fa91fcd1cb741dd5691ba9b974 | commit | diff |
bump rename limit defaults
The current rename limit default of 100 was arbitrarily
chosen. Testing[1] has shown that on modern hardware, a
limit of 200 adds about a second of computation time, and a
limit of 500 adds about 5 seconds of computation time.
This patch bumps the default limit to 200 for viewing diffs,
and to 500 for performing a merge. The limit for generating
git-status templates is set independently; we bump it up to
200 here, as well, to match the diff limit.
[1]: See <20080211113516.GB6344@coredump.intra.peff.net>
Signed-off-by: Jeff King <peff@peff.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
The current rename limit default of 100 was arbitrarily
chosen. Testing[1] has shown that on modern hardware, a
limit of 200 adds about a second of computation time, and a
limit of 500 adds about 5 seconds of computation time.
This patch bumps the default limit to 200 for viewing diffs,
and to 500 for performing a merge. The limit for generating
git-status templates is set independently; we bump it up to
200 here, as well, to match the diff limit.
[1]: See <20080211113516.GB6344@coredump.intra.peff.net>
Signed-off-by: Jeff King <peff@peff.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin-merge-recursive.c | diff | blob | history | |
diff.c | diff | blob | history | |
wt-status.c | diff | blob | history |