Merge branch 'jc/cc-stat'
* jc/cc-stat: Fix "git show --stat"
This commit is contained in:
commit
2effe71b7c
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user