trim_common_tail: brown paper bag fix.
commit52499977350b95ba7166e5c835b09cdbc20a3d02
authorJeff King <peff@peff.net>
Sun, 16 Dec 2007 07:06:14 +0000 (16 02:06 -0500)
committerJunio C Hamano <gitster@pobox.com>
Sun, 16 Dec 2007 19:53:03 +0000 (16 11:53 -0800)
tree02a7e07c39cbe6987f213cda07d2067e1df97997
parent7680087e7c8125e7397aa5761f5c5ddbb02a8326
trim_common_tail: brown paper bag fix.

The recovered context lines were not LF terminated due to off-by-one
error, which also caused the outer loop to count the number of recovered
lines to terminate after running only once.

Signed-off-by: Junio C Hamano <gitster@pobox.com>
xdiff-interface.c