aboutsummaryrefslogtreecommitdiff
path: root/builtin-checkout.c
diff options
context:
space:
mode:
authorDavide Libenzi <davidel@xmailserver.org>2008-11-07 21:24:33 -0800
committerJunio C Hamano <gitster@pobox.com>2008-11-08 09:28:30 -0800
commit9b28d55401a529ff08c709f42f66e765c93b0a20 (patch)
tree160929221ee2becefe85d95d5828aa91d07233ef /builtin-checkout.c
parent6331adb9c4ec36c70dc3ecc6eb46b7dddb36952d (diff)
downloadgit-9b28d55401a529ff08c709f42f66e765c93b0a20.tar.gz
git-9b28d55401a529ff08c709f42f66e765c93b0a20.tar.xz
xdiff: give up scanning similar lines early
In a corner case of large files whose lines do not match uniquely, the loop to eliminate a line that matches multiple locations adjacent to a run of lines that do not uniquely match wasted too much cycles. Fix this by giving up early after scanning 100 lines in both direction. Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'builtin-checkout.c')
0 files changed, 0 insertions, 0 deletions