From: Jeff King Date: Mon, 10 Oct 2016 23:43:39 GMT Subject: Re: Formatting problem send_mail in version 2.10.0 Message-ID: <20161010234339.2oyc7kplz2zzjfwh@sigill.intra.peff.net> In-Reply-To: <577f6873-c320-7aa6-b42f-475f2afb9b92@lwfinger.net> On Mon, Oct 10, 2016 at 06:35:01PM -0500, Larry Finger wrote: > > Ah, it is Mail::Address. It gets this case right, but if I uninstall it, > > then the cc becomes: > > > > Cc: Stable > > > > that you saw, which is broken. Older versions of git, even without > > Mail::Address, got this right. The breakage bisects to b1c8a11 > > (send-email: allow multiple emails using --cc, --to and --bcc, > > 2015-06-30) from v2.6.0, but I didn't dig deeper into the cause. > > I did not have Mail::Address installed, but adding it did not help. Weird. On my system: $ git send-email -1 --to=peff@peff.net --dry-run | grep ^Cc Cc: Stable $ sudo apt-get install libmailtools-perl ... apt-get cruft ... $ git send-email -1 --to=peff@peff.net --dry-run | grep ^Cc Cc: "Stable [4.8+]" I wonder if the version matters (mine is 2.13-1, packaged by Debian). > I solved my immediate problem by moving the [4.8+] between Stable and the > starting <. The result is spaced funny, but at least the info is there. If you can change the format, I suspect: Cc: "Stable: [v4.8+]" will probably yield the most consistent results. -Peff