revision.c: introduce --min-parents and --max-parents options
[gitweb.git] / builtin / log.c
index d8c6c28d2fcc3bd0744f071da536215141dc0d0b..669796d7b2909aa90abe04c3d161243a42f75fdd 100644 (file)
@@ -1055,7 +1055,7 @@ int cmd_format_patch(int argc, const char **argv, const char *prefix)
        rev.commit_format = CMIT_FMT_EMAIL;
        rev.verbose_header = 1;
        rev.diff = 1;
-       rev.no_merges = 1;
+       rev.max_parents = 1;
        DIFF_OPT_SET(&rev.diffopt, RECURSIVE);
        rev.subject_prefix = fmt_patch_subject_prefix;
        memset(&s_r_opt, 0, sizeof(s_r_opt));