aboutsummaryrefslogtreecommitdiffstats
path: root/shared.c
diff options
context:
space:
mode:
Diffstat (limited to 'shared.c')
-rw-r--r--shared.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/shared.c b/shared.c
index df3f611..21ac8f4 100644
--- a/shared.c
+++ b/shared.c
@@ -346,7 +346,7 @@ void cgit_diff_tree(const struct object_id *old_oid,
346 opt.output_format = DIFF_FORMAT_CALLBACK; 346 opt.output_format = DIFF_FORMAT_CALLBACK;
347 opt.detect_rename = 1; 347 opt.detect_rename = 1;
348 opt.rename_limit = ctx.cfg.renamelimit; 348 opt.rename_limit = ctx.cfg.renamelimit;
349 DIFF_OPT_SET(&opt, RECURSIVE); 349 opt.flags.recursive = 1;
350 if (ignorews) 350 if (ignorews)
351 DIFF_XDL_SET(&opt, IGNORE_WHITESPACE); 351 DIFF_XDL_SET(&opt, IGNORE_WHITESPACE);
352 opt.format_callback = cgit_diff_tree_cb; 352 opt.format_callback = cgit_diff_tree_cb;