projects
/
git.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e64961b
)
Fix "git show --stat"
author
Junio C Hamano
<junkio@cox.net>
Sat, 22 Apr 2006 02:39:04 +0000
(19:39 -0700)
committer
Junio C Hamano
<junkio@cox.net>
Sat, 22 Apr 2006 05:24:34 +0000
(22:24 -0700)
Signed-off-by: Junio C Hamano <junkio@cox.net>
revision.c
patch
|
blob
|
history
diff --git
a/revision.c
b/revision.c
index
113dd5a
..
f9c7d15
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;