Merge branch 'lt/gitweb'
[gitweb.git] / revision.c
index 880fb7bb30b75d9c5bb6a8aa037a6048cba5c922..ab89c22417cace2ee56cd88a7135967690be586a 100644 (file)
@@ -852,8 +852,7 @@ int setup_revisions(int argc, const char **argv, struct rev_info *revs, const ch
        }
        if (revs->combine_merges) {
                revs->ignore_merges = 0;
-               if (revs->dense_combined_merges &&
-                   (revs->diffopt.output_format != DIFF_FORMAT_DIFFSTAT))
+               if (revs->dense_combined_merges && !revs->diffopt.output_format)
                        revs->diffopt.output_format = DIFF_FORMAT_PATCH;
        }
        revs->diffopt.abbrev = revs->abbrev;