diff options
author | Junio C Hamano <junkio@cox.net> | 2006-04-18 11:41:28 -0700 |
---|---|---|
committer | Junio C Hamano <junkio@cox.net> | 2006-04-18 11:43:09 -0700 |
commit | 3a624b346db02a07b0317743b362d1a15c6c3c18 (patch) | |
tree | 14349feaf6ee4a4617cda4cecd0ad4f1eb517b18 /revision.c | |
parent | 965f803c323bb72a9dedbbc8f7ba00bbadb6cf58 (diff) | |
download | git-3a624b346db02a07b0317743b362d1a15c6c3c18.tar.gz |
Fix "git log --stat": make sure to set recursive with --stat.
Just like "patch" format always needs recursive, "diffstat"
format does not make sense without setting recursive.
Signed-off-by: Junio C Hamano <junkio@cox.net>
Diffstat (limited to 'revision.c')
-rw-r--r-- | revision.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/revision.c b/revision.c index 5abec18bc1..4d2a64ef6b 100644 --- a/revision.c +++ b/revision.c @@ -791,8 +791,6 @@ int setup_revisions(int argc, const char **argv, struct rev_info *revs, const ch if (revs->dense_combined_merges) revs->diffopt.output_format = DIFF_FORMAT_PATCH; } - if (revs->diffopt.output_format == DIFF_FORMAT_PATCH) - revs->diffopt.recursive = 1; revs->diffopt.abbrev = revs->abbrev; diff_setup_done(&revs->diffopt); |