apply: Don't unnecessarily update line lengths in the preimage
commit9b25949a07933fb9ce7c10bd309ac176dbe2df2e
authorBjörn Gustavsson <bgustavsson@gmail.com>
Sat, 6 Mar 2010 14:30:21 +0000 (6 15:30 +0100)
committerJunio C Hamano <gitster@pobox.com>
Sun, 7 Mar 2010 07:53:00 +0000 (6 23:53 -0800)
tree86499a4542289ed7af30ed7b15bde8f87c3375c2
parente923eaeb901ff056421b9007adcbbce271caa7b6
apply: Don't unnecessarily update line lengths in the preimage

In match_fragment(), the line lengths in the preimage are updated
just before calling update_pre_post_images(). That is not
necessary, since update_pre_post_images() itself will
update the line lengths based on the buffer passed to it.

Signed-off-by: Björn Gustavsson <bgustavsson@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin-apply.c