Re: Formatting problem send_mail in version 2.10.0

2016-10-14 Thread Junio C Hamano
Matthieu Moy writes: > We clearly can't guess, but we can be consistent with Mail::Address, so > that git's behavior depends less on its availability. > > Patch follows doing that. Thanks. I love that somebody counters with a much better way to solve it whenever I

Re: Formatting problem send_mail in version 2.10.0

2016-10-13 Thread Matthieu Moy
Kevin Daudt writes: > On Wed, Oct 12, 2016 at 07:13:22PM -0400, Jeff King wrote: > >> I think the answer is pretty clearly no. It's just that historically we >> have auto-munged it into something useful. I think the viable options >> are basically: >> >> 1. Tell people not to

Re: Formatting problem send_mail in version 2.10.0

2016-10-13 Thread Kevin Daudt
On Wed, Oct 12, 2016 at 07:13:22PM -0400, Jeff King wrote: > On Wed, Oct 12, 2016 at 01:53:52PM -0700, Junio C Hamano wrote: > > > Matthieu Moy writes: > > > > >>> If it's not in the body of the message, then where is it? > > >> > > >> This point is clarified in

Re: Formatting problem send_mail in version 2.10.0

2016-10-12 Thread Matthieu Moy
Jeff King writes: > 2. Drop everything after the trailing ">". This gives a valid rfc2822 > cc, and people can pick the "# 4.8" from the cc line in the body. That would work for me, but it's inconsistent with Mail::Address and I'd really like to avoid having a behavior

Re: Formatting problem send_mail in version 2.10.0

2016-10-12 Thread Matthieu Moy
Junio C Hamano writes: > People write things like these > > Cc: Stable # 4.8 > Cc: Stable [4.8+] > > in the trailer part in the body of the message. Are these lines > meant to be usable if they appear as Cc: headers of

Re: Formatting problem send_mail in version 2.10.0

2016-10-12 Thread Jeff King
On Wed, Oct 12, 2016 at 01:53:52PM -0700, Junio C Hamano wrote: > Matthieu Moy writes: > > >>> If it's not in the body of the message, then where is it? > >> > >> This point is clarified in the thread > >> http://marc.info/?l=linux-wireless=147625930203434=2, which

Re: Formatting problem send_mail in version 2.10.0

2016-10-12 Thread Junio C Hamano
Matthieu Moy writes: >>> If it's not in the body of the message, then where is it? >> >> This point is clarified in the thread >> http://marc.info/?l=linux-wireless=147625930203434=2, which is >> with my upstream maintainer. > > Which explicitly states that the

Re: Formatting problem send_mail in version 2.10.0

2016-10-12 Thread Larry Finger
On 10/12/2016 10:45 AM, Matthieu Moy wrote: Larry Finger writes: On 10/12/2016 02:36 AM, Matthieu Moy wrote: Larry Finger writes: On 10/11/2016 11:18 AM, Matthieu Moy wrote: Larry Finger writes: That

Re: Formatting problem send_mail in version 2.10.0

2016-10-12 Thread Matthieu Moy
Larry Finger writes: > On 10/12/2016 02:36 AM, Matthieu Moy wrote: >> Larry Finger writes: >> >>> On 10/11/2016 11:18 AM, Matthieu Moy wrote: Larry Finger writes: > That added information at the end

Re: Formatting problem send_mail in version 2.10.0

2016-10-12 Thread Matthieu Moy
Larry Finger writes: > On 10/12/2016 02:36 AM, Matthieu Moy wrote: >> Larry Finger writes: >> >>> On 10/11/2016 11:18 AM, Matthieu Moy wrote: Larry Finger writes: > That added information at the end

Re: Formatting problem send_mail in version 2.10.0

2016-10-12 Thread Larry Finger
On 10/12/2016 02:36 AM, Matthieu Moy wrote: Larry Finger writes: On 10/11/2016 11:18 AM, Matthieu Moy wrote: Larry Finger writes: That added information at the end is intended to be passed on to the stable group. In this case, the

Re: Formatting problem send_mail in version 2.10.0

2016-10-12 Thread Larry Finger
On 10/12/2016 02:36 AM, Matthieu Moy wrote: Larry Finger writes: On 10/11/2016 11:18 AM, Matthieu Moy wrote: Larry Finger writes: That added information at the end is intended to be passed on to the stable group. In this case, the

Re: Formatting problem send_mail in version 2.10.0

2016-10-12 Thread Matthieu Moy
Larry Finger writes: > On 10/11/2016 11:18 AM, Matthieu Moy wrote: >> Larry Finger writes: >> >>> 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

Re: Formatting problem send_mail in version 2.10.0

2016-10-11 Thread Larry Finger
On 10/11/2016 11:18 AM, Matthieu Moy wrote: Larry Finger writes: 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. OK, but where do people fetch this

Re: Formatting problem send_mail in version 2.10.0

2016-10-11 Thread Matthieu Moy
Larry Finger writes: > 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. OK, but where do people fetch this information from? When you use git

Re: Formatting problem send_mail in version 2.10.0

2016-10-11 Thread Jeff King
On Tue, Oct 11, 2016 at 09:39:58AM +0200, Matthieu Moy 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

Re: Formatting problem send_mail in version 2.10.0

2016-10-11 Thread Larry Finger
On 10/11/2016 02:39 AM, Matthieu Moy wrote: Jeff King 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:

Re: Formatting problem send_mail in version 2.10.0

2016-10-11 Thread Matthieu Moy
Jeff King 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

Re: Formatting problem send_mail in version 2.10.0

2016-10-10 Thread Jeff King
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 > >

Re: Formatting problem send_mail in version 2.10.0

2016-10-10 Thread Larry Finger
On 10/10/2016 04:57 PM, Jeff King wrote: [+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

Re: Formatting problem send_mail in version 2.10.0

2016-10-10 Thread Jeff King
[+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-

Re: Formatting problem send_mail in version 2.10.0

2016-10-10 Thread Jeff King
On Mon, Oct 10, 2016 at 04:00:56PM -0500, Larry Finger wrote: > I have recently switched to openSUSE Leap 42.2 and found that some of the > features of send_mail no longer work. The problem occurs when trying to add > information to a Cc to Stable. > > The initial pass through the patch produces

Formatting problem send_mail in version 2.10.0

2016-10-10 Thread Larry Finger
I have recently switched to openSUSE Leap 42.2 and found that some of the features of send_mail no longer work. The problem occurs when trying to add information to a Cc to Stable. The initial pass through the patch produces the output (body) Adding cc: Stable [4.8+]