git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Linus Torvalds <torvalds@linux-foundation.org>
To: Andrew Morton <akpm@linux-foundation.org>
Cc: git@vger.kernel.org
Subject: Re: email address handling
Date: Fri, 1 Aug 2008 12:34:58 -0700 (PDT)	[thread overview]
Message-ID: <alpine.LFD.1.10.0808011229400.3277@nehalem.linux-foundation.org> (raw)
In-Reply-To: <20080731194042.a1534b4d.akpm@linux-foundation.org>



On Thu, 31 Jul 2008, Andrew Morton wrote:
> 
> A minor thing.
> 
> Commit 76ecb4f2d7ea5c3aac8970b9529775316507c6d2 is displayed thusly:
> 
>   commit 76ecb4f2d7ea5c3aac8970b9529775316507c6d2
>   Author: Zhang, Rui <rui.zhang@intel.com>
>   Date:   Thu Apr 10 16:20:23 2008 +0800
> 
>       ACPI: update thermal temperature
> 
> but that isn't a valid email address.  Because it contains a comma it
> must be quoted:  "Zhang, Rui".

The email address is rui.zhang@intel.com.

The name is Zhang, Rui.

Git at no point ever mixes the two up. It's _not_ one field ("Zhang, Rui 
<rui.zhang@intel.com>"), it's literally two different parts that you set 
separately, that just get shown (and encoded in the commit, for that 
matter) in a way that resembles a single email address.

> I assume that something in the git toolchain removed his quotes, and
> that was arguably incorrect.

No, it would be incorrect to keep them, because the name doesn't contain 
the quotes. The name is just that 

	Zhang, Rui

part.

I've considered having the email->name detection change "A, B" into "B A", 
but it's not always right, so it doesn't try to munge the names it finds 
in other ways except to remove obvious crud from the ends.

And Andrew, this is true of Signed-off-by: lines too, btw. If you actually 
want to send emails to them, _then_ you need to add quotes to follow the 
email rules. 

		Linus

  reply	other threads:[~2008-08-01 19:36 UTC|newest]

Thread overview: 41+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-08-01  2:40 email address handling Andrew Morton
2008-08-01 19:34 ` Linus Torvalds [this message]
2008-08-01 19:45   ` Andrew Morton
2008-08-01 19:56     ` Linus Torvalds
2008-08-01 20:07       ` Junio C Hamano
2008-08-01 20:11       ` Andrew Morton
2008-08-01 20:17         ` Linus Torvalds
2008-08-01 20:24           ` Andrew Morton
2008-08-01 20:40             ` Linus Torvalds
2008-08-01 20:41               ` Linus Torvalds
2008-08-01 20:54               ` Andrew Morton
2008-08-01 21:12                 ` Linus Torvalds
2008-08-01 21:16                 ` Johannes Schindelin
2008-08-01 21:25                   ` Junio C Hamano
2008-08-02 11:03                     ` Johannes Schindelin
2008-08-01 21:50                 ` Junio C Hamano
2008-08-01 21:58                   ` Andrew Morton
2008-08-01 22:15                     ` Theodore Tso
2008-08-01 22:27                       ` Andrew Morton
2008-08-01 22:34                         ` Linus Torvalds
2008-08-01 22:44                           ` Andrew Morton
2008-08-01 22:52                             ` Linus Torvalds
2008-08-01 23:00                               ` Andrew Morton
2008-08-01 22:49                           ` Linus Torvalds
2008-08-04 20:14                             ` Karl Hasselström
2008-08-01 22:39                         ` Linus Torvalds
2008-08-01 22:49                           ` Andrew Morton
2008-08-01 22:55                             ` Linus Torvalds
2008-08-01 23:16                               ` Linus Torvalds
2008-08-02 11:31                                 ` Johannes Schindelin
2008-08-02 16:20                                   ` Linus Torvalds
2008-08-02 16:36                                     ` Junio C Hamano
2008-08-02 16:59                                       ` Johannes Schindelin
2008-08-02 17:08                                         ` Linus Torvalds
2008-08-02 16:40                                     ` Junio C Hamano
2008-08-02 16:42                                       ` Junio C Hamano
2008-08-02 17:50                                     ` Junio C Hamano
2008-08-01 22:23                     ` Linus Torvalds
2008-08-01 22:41                       ` Andrew Morton
2008-08-01 20:00     ` Junio C Hamano
2008-08-01 20:14       ` Andrew Morton

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=alpine.LFD.1.10.0808011229400.3277@nehalem.linux-foundation.org \
    --to=torvalds@linux-foundation.org \
    --cc=akpm@linux-foundation.org \
    --cc=git@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).