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:
commit
2effe71b7c
1 changed files with 2 additions and 1 deletions
|
@ -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 a new issue