summaryrefslogtreecommitdiff
path: root/builtin/log.c
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2018-11-19 07:24:40 (GMT)
committerJunio C Hamano <gitster@pobox.com>2018-11-19 07:24:40 (GMT)
commitdc7accd7554795bf094ca43518d52fffae502ea3 (patch)
tree1d3ae1d74fccf5ca05fb4d5b0e53ffe9f51d624e /builtin/log.c
parent137399934da84ff8258c5ae8522006b5c1674eec (diff)
parent284aeb7e60314d16cf6880da9128295f1d3d49a8 (diff)
downloadgit-dc7accd7554795bf094ca43518d52fffae502ea3.zip
git-dc7accd7554795bf094ca43518d52fffae502ea3.tar.gz
git-dc7accd7554795bf094ca43518d52fffae502ea3.tar.bz2
Merge branch 'nd/format-patch-cover-letter-stat-width'
"git format-patch --stat=<width>" can be used to specify the width used by the diffstat (shown in the cover letter). * nd/format-patch-cover-letter-stat-width: format-patch: respect --stat in cover letter's diffstat
Diffstat (limited to 'builtin/log.c')
-rw-r--r--builtin/log.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/builtin/log.c b/builtin/log.c
index 9f2d987..0fe6f9b 100644
--- a/builtin/log.c
+++ b/builtin/log.c
@@ -1011,8 +1011,6 @@ static void show_diffstat(struct rev_info *rev,
memcpy(&opts, &rev->diffopt, sizeof(opts));
opts.output_format = DIFF_FORMAT_SUMMARY | DIFF_FORMAT_DIFFSTAT;
- opts.stat_width = MAIL_DEFAULT_WRAP;
-
diff_setup_done(&opts);
diff_tree_oid(get_commit_tree_oid(origin),