Merge branch 'jc/cc-stat'

* jc/cc-stat:
  Fix "git show --stat"
This commit is contained in:
Junio C Hamano 2006-04-24 02:06:40 -07:00
commit 2effe71b7c

View File

@ -789,7 +789,8 @@ 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)
if (revs->dense_combined_merges &&
(revs->diffopt.output_format != DIFF_FORMAT_DIFFSTAT))
revs->diffopt.output_format = DIFF_FORMAT_PATCH;
}
revs->diffopt.abbrev = revs->abbrev;