Re: Formatting problem send_mail in version 2.10.0
On Mon, Oct 10, 2016 at 06:35:01PM -0500, Larry Finger wrote:
Show 11 quoted lines
> > Ah, it is Mail::Address. It gets this case right, but if I uninstall it,
> > then the cc becomes:
> >
> > Cc: Stable <stable@vger.kernel.org[4.8+]>
> >
> > 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 <stable@vger.kernel.org[4.8+]>
$ 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+]" <stable@vger.kernel.org>
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+]" <stable@vger.kernel.org>
will probably yield the most consistent results.
-Peff