Code

xdiff/xhistogram: rely on xdl_trim_ends()
authorTay Ray Chuan <rctay89@gmail.com>
Mon, 1 Aug 2011 04:20:09 +0000 (12:20 +0800)
committerJunio C Hamano <gitster@pobox.com>
Mon, 8 Aug 2011 20:00:17 +0000 (13:00 -0700)
commit43ca7530df839321cc4f62b54a0098f2a1cfb4ad
tree59f33a20f653a3a809f3f78675b97018ed0d5674
parent19f7a9c57785161cdfaa6036eb0ef90853333724
xdiff/xhistogram: rely on xdl_trim_ends()

Do away with reduce_common_start_end() and use xdf->dstart and xdf->dend
set by xdl_trim_ends() that similarly tells us where the first unmatched
line from the start and end occurs.

Signed-off-by: Tay Ray Chuan <rctay89@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
xdiff/xhistogram.c