diff options
Diffstat (limited to 'ui-patch.c')
-rw-r--r-- | ui-patch.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -72,6 +72,7 @@ void cgit_print_patch(const char *new_rev, const char *old_rev, | |||
72 | rev.verbose_header = 1; | 72 | rev.verbose_header = 1; |
73 | rev.diff = 1; | 73 | rev.diff = 1; |
74 | rev.show_root_diff = 1; | 74 | rev.show_root_diff = 1; |
75 | rev.max_parents = 1; | ||
75 | rev.diffopt.output_format |= DIFF_FORMAT_PATCH; | 76 | rev.diffopt.output_format |= DIFF_FORMAT_PATCH; |
76 | setup_revisions(ARRAY_SIZE(rev_argv), (const char **)rev_argv, &rev, | 77 | setup_revisions(ARRAY_SIZE(rev_argv), (const char **)rev_argv, &rev, |
77 | NULL); | 78 | NULL); |