Merge branch 'jc/diff-test-updates' into th/diff
[gitweb.git] / revision.c
index b963f2adfd92050310f7327e1ee10e21d5996a7c..ae4ca8200367a919ed5166a96624abbbe8fef15c 100644 (file)
@@ -851,8 +851,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;