Re: [PATCH 2/2] format-patch: removing unconditional wrapping
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Mar 27, 2026, 20:27 UTC
- Message-ID
- <xmqq7bqxj9wa.fsf@gitster.g>
- In-Reply-To
- <204b9320f46529d16d3a4d9a9c4a57253b4db028.1774640789.git.mroik@delayed.space>
Mirko Faina <mroik@delayed.space> writes:
Show 10 quoted lines
> Using format-patch with --commit-list-format different than shortlog, > causes the commit entry lines to wrap if they get longer than > MAIL_DEFAULT_WRAP (72 characters). > > While this might be sensible for many when sending changes through > email, it forces this decision of wrapping on the user, reducing the > control granularity of --commit-list-format. > > Teach generate_commit_list_cover() to respect commit entry line lengths > and place this wrapping rule on the "modern" preset format instead.
Well explained. I would have personally picked a sligntly different default format, but this topic is your itch, so it's OK.
Will queue. Looks very good. Thanks.