author | Brian Downing <bdowning@lavos.net> | |
Thu, 14 Aug 2008 05:36:50 +0000 (00:36 -0500) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Thu, 14 Aug 2008 06:10:23 +0000 (23:10 -0700) | ||
commit | c99db9d292c5f63c83ae2b441a67121d76553413 | |
tree | bdb63fae285ccaa9b54dbe9a4bde0ec1ac41bc96 | tree | snapshot |
parent | a0653d550524a0263d36fde6a8cf98941dd057ab | commit | diff |
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>
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 | diff | blob | history | |
combine-diff.c | diff | blob | history | |
diff.c | diff | blob | history | |
xdiff-interface.c | diff | blob | history | |
xdiff-interface.h | diff | blob | history |