Make xdi_diff_outf interface for running xdiff_outf diffs
commitc99db9d292c5f63c83ae2b441a67121d76553413
authorBrian Downing <bdowning@lavos.net>
Thu, 14 Aug 2008 05:36:50 +0000 (14 00:36 -0500)
committerJunio C Hamano <gitster@pobox.com>
Thu, 14 Aug 2008 06:10:23 +0000 (13 23:10 -0700)
treebdb63fae285ccaa9b54dbe9a4bde0ec1ac41bc96
parenta0653d550524a0263d36fde6a8cf98941dd057ab
Make xdi_diff_outf interface for running xdiff_outf diffs

To prepare for the need to initialize and release resources for an
xdi_diff with the xdiff_outf output function, make a new function to
wrap this usage.

Old:

ecb.outf = xdiff_outf;
ecb.priv = &state;
...
xdi_diff(file_p, file_o, &xpp, &xecfg, &ecb);

New:

xdi_diff_outf(file_p, file_o, &state.xm, &xpp, &xecfg, &ecb);

Signed-off-by: Brian Downing <bdowning@lavos.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin-blame.c
combine-diff.c
diff.c
xdiff-interface.c
xdiff-interface.h