Code

diff.c: the builtin_diff() deals with only two-file comparison
authorJunio C Hamano <gitster@pobox.com>
Fri, 4 Sep 2009 06:59:25 +0000 (23:59 -0700)
committerJunio C Hamano <gitster@pobox.com>
Fri, 4 Sep 2009 18:50:26 +0000 (11:50 -0700)
commitb8d9c1a66b99ad3ca8069add010dafdd1bc6cab8
treec3d604a9dd669a4207d3432c1dbfc9bcb160e44b
parent94ea026b358f9fd5395d9344a80f2d5a50e93e1f
diff.c: the builtin_diff() deals with only two-file comparison

The combined diff is implemented in combine_diff() and fn_out_consume()
codepath never has to deal with anything but two-file comparision.

Drop nparents from the emit_callback structure and simplify the code.

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