Fix --signoff in builtin-commit differently.
[gitweb.git] / merge-recursive.c
index 6c6f595fbc7da09a41228e09cd2c5ef48b91f3f0..9a1e2f269dc5eff3b7544507a1e483948cc1254d 100644 (file)
@@ -366,7 +366,7 @@ static struct path_list *get_renames(struct tree *tree,
 
        renames = xcalloc(1, sizeof(struct path_list));
        diff_setup(&opts);
-       opts.recursive = 1;
+       DIFF_OPT_SET(&opts, RECURSIVE);
        opts.detect_rename = DIFF_DETECT_RENAME;
        opts.rename_limit = rename_limit;
        opts.output_format = DIFF_FORMAT_NO_OUTPUT;