Re: Formatting problem send_mail in version 2.10.0

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 10/11/2016 02:39 AM, Matthieu Moy wrote:
Jeff King <peff@xxxxxxxx> writes:

[+cc authors of b1c8a11, which regressed this case; I'll quote liberally
     to give context]

On Mon, Oct 10, 2016 at 05:48:56PM -0400, Jeff King wrote:

I can't reproduce the problem with this simple setup:

	git init
	echo content >file && git add file
	git commit -F- <<-\EOF
	the subject

	the body

	Cc: Stable <stable@xxxxxxxxxxxxxxx> [4.8+]

Is this RFC2822 compliant (https://tools.ietf.org/html/rfc2822)? Not an
expert of the norm, but my understanding is that you're allowed to use
either "Name <addr@xxxxxxxxxx>" (name-addr) or addr@xxxxxxxxxx
(addr-spec), and that comments are allowed within parenthesis like
"Stable <stable@xxxxxxxxxxxxxxx> (4.8+)".

What is this [4.8+] supposed to mean?

The guilty function is parse_mailboxes in perl/Git.pm. It should be
rather easy to modify it but I need to understand the spec before I can
try to implement anything.

That added information at the end is intended to be passed on to the stable group. In this case, the patch needs to be applied to kernel versions 4.8 and later.

Placing the info inside parentheses causes it to be dropped from the outgoing mail as follows:

(body) Adding cc: Stable <stable@xxxxxxxxxxxxxxx> (4.8+) from line 'Cc: Stable <stable@xxxxxxxxxxxxxxx> (4.8+)'
--snip--
Cc:     Stable <stable@xxxxxxxxxxxxxxx>,

Larry






[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]