summaryrefslogtreecommitdiff
path: root/t/t0010-racy-git.sh
diff options
context:
space:
mode:
authorLibravatar Davide Libenzi <davidel@xmailserver.org>2008-11-07 21:24:33 -0800
committerLibravatar Junio C Hamano <gitster@pobox.com>2008-12-02 23:45:37 -0800
commit733070bea9ce28d557f0b0950acc05b3fe6ff6c6 (patch)
tree4bfc97b38f65e30f28ac296a392d1cf85b36313a /t/t0010-racy-git.sh
parentMerge branch 'bc/maint-keep-pack' into maint (diff)
downloadtgif-733070bea9ce28d557f0b0950acc05b3fe6ff6c6.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 't/t0010-racy-git.sh')
0 files changed, 0 insertions, 0 deletions