]> git.cameronkatri.com Git - cgit.git/blobdiff - ui-diff.c
ui-blame: Break out emit_blame_entry into component methods
[cgit.git] / ui-diff.c
index c7fb49b0c9b79d337c0e62ce0e197e3838c21b9d..a10ce8a96841d0e677918f5f3e0415b38f3144d8 100644 (file)
--- a/ui-diff.c
+++ b/ui-diff.c
@@ -444,7 +444,7 @@ void cgit_print_diff(const char *new_rev, const char *old_rev,
 
                diff_setup(&diffopt);
                diffopt.output_format = DIFF_FORMAT_PATCH;
-               DIFF_OPT_SET(&diffopt, RECURSIVE);
+               diffopt.flags.recursive = 1;
                diff_setup_done(&diffopt);
 
                ctx.page.mimetype = "text/plain";