aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--shared.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/shared.c b/shared.c
index 077934f..cd9d68d 100644
--- a/shared.c
+++ b/shared.c
@@ -373,6 +373,7 @@ int cgit_diff_files(const unsigned char *old_sha1,
373 diff_params.flags = XDF_NEED_MINIMAL; 373 diff_params.flags = XDF_NEED_MINIMAL;
374 emit_params.ctxlen = 3; 374 emit_params.ctxlen = 3;
375 emit_params.flags = XDL_EMIT_FUNCNAMES; 375 emit_params.flags = XDL_EMIT_FUNCNAMES;
376 emit_params.find_func = NULL;
376 emit_cb.outf = filediff_cb; 377 emit_cb.outf = filediff_cb;
377 emit_cb.priv = fn; 378 emit_cb.priv = fn;
378 xdl_diff(&file1, &file2, &diff_params, &emit_params, &emit_cb); 379 xdl_diff(&file1, &file2, &diff_params, &emit_params, &emit_cb);