Andrew's git
/
gitweb.git
/ diff
summary
|
log
|
commit
| diff |
tree
commit
grep
author
committer
pickaxe
?
re
Merge branch 'jc/cc-stat' into next
author
Junio C Hamano
<junkio@cox.net>
Sat, 22 Apr 2006 08:46:29 +0000
(
01:46
-0700)
committer
Junio C Hamano
<junkio@cox.net>
Sat, 22 Apr 2006 08:46:29 +0000
(
01:46
-0700)
* jc/cc-stat:
Fix "git show --stat"
revision.c
patch
|
blob
|
history
raw
(from parent 1:
076d1d6
)
diff --git
a/revision.c
b/revision.c
index 113dd5a89fc03ff17b04443f2ac7148b4c36af33..f9c7d15f56ded660e8cc58ca533786fff16c5429 100644
(file)
--- a/
revision.c
+++ b/
revision.c
@@
-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;