Skip to content

Commit

Permalink
Merge branch 'jc/cc-stat'
Browse files Browse the repository at this point in the history
* jc/cc-stat:
  Fix "git show --stat"
  • Loading branch information
Junio C Hamano committed Apr 24, 2006
2 parents cdb6350 + 96ab4f4 commit 2effe71
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion revision.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 2effe71

Please sign in to comment.