aboutsummaryrefslogtreecommitdiff
path: root/xdiff-interface.c
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2007-12-13 13:25:07 -0800
committerJunio C Hamano <gitster@pobox.com>2007-12-13 23:04:26 -0800
commitc279d7e9869740a6d64b0d1d70f7968af68d2071 (patch)
tree039ed15f8db0c4747b7114881257c1d17a89925e /xdiff-interface.c
parent792c1583c8ab94c8cee77ca66685983259d7510e (diff)
downloadgit-c279d7e9869740a6d64b0d1d70f7968af68d2071.tar.gz
git-c279d7e9869740a6d64b0d1d70f7968af68d2071.tar.xz
xdl_diff: identify call sites.
This inserts a new function xdi_diff() that currently does not do anything other than calling the underlying xdl_diff() to the callchain of current callers of xdl_diff() function. Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'xdiff-interface.c')
-rw-r--r--xdiff-interface.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/xdiff-interface.c b/xdiff-interface.c
index be866d12d..69a022c13 100644
--- a/xdiff-interface.c
+++ b/xdiff-interface.c
@@ -103,6 +103,11 @@ int xdiff_outf(void *priv_, mmbuffer_t *mb, int nbuf)
return 0;
}
+int xdi_diff(mmfile_t *mf1, mmfile_t *mf2, xpparam_t const *xpp, xdemitconf_t const *xecfg, xdemitcb_t *xecb)
+{
+ return xdl_diff(mf1, mf2, xpp, xecfg, xecb);
+}
+
int read_mmfile(mmfile_t *ptr, const char *filename)
{
struct stat st;