xdiff/xhistogram: rework handling of recursed results
authorTay Ray Chuan <rctay89@gmail.com>
Mon, 1 Aug 2011 04:20:08 +0000 (12:20 +0800)
committerJunio C Hamano <gitster@pobox.com>
Mon, 8 Aug 2011 20:00:17 +0000 (13:00 -0700)
commit19f7a9c57785161cdfaa6036eb0ef90853333724
tree0fe95cec5f36d899c20e5048e858406858999841
parent739864b1ffb379120df9cfa4111c4ec20b823cfd
xdiff/xhistogram: rework handling of recursed results

Previously we were over-complicating matters by trying to combine the
recursed results. Now, terminate immediately if a recursive call failed
and return its result.

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