diff options
Diffstat (limited to 'shared.c')
-rw-r--r-- | shared.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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); |