diff options
author | Davide Libenzi <davidel@xmailserver.org> | 2008-11-07 21:24:33 -0800 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2008-12-02 23:45:37 -0800 |
commit | 733070bea9ce28d557f0b0950acc05b3fe6ff6c6 (patch) | |
tree | 4bfc97b38f65e30f28ac296a392d1cf85b36313a /t | |
parent | Merge branch 'bc/maint-keep-pack' into maint (diff) | |
download | tgif-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')
0 files changed, 0 insertions, 0 deletions