1
0
Fork 0
mirror of https://github.com/git/git.git synced 2024-11-17 22:44:49 +01:00

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) { if (revs->combine_merges) {
revs->ignore_merges = 0; 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.output_format = DIFF_FORMAT_PATCH;
} }
revs->diffopt.abbrev = revs->abbrev; revs->diffopt.abbrev = revs->abbrev;