Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.kernel.org/pub/scm/git/git.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2018-11-19 10:24:40 +0300
committerJunio C Hamano <gitster@pobox.com>2018-11-19 10:24:40 +0300
commitdc7accd7554795bf094ca43518d52fffae502ea3 (patch)
tree1d3ae1d74fccf5ca05fb4d5b0e53ffe9f51d624e /builtin
parent137399934da84ff8258c5ae8522006b5c1674eec (diff)
parent284aeb7e60314d16cf6880da9128295f1d3d49a8 (diff)
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')
-rw-r--r--builtin/log.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/builtin/log.c b/builtin/log.c
index 9f2d987294..0fe6f9ba1e 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),