git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: email address handling

From
AMAndrew Morton <akpm@linux-foundation.org>
Date
Aug 1, 2008, 20:11 UTC
Message-ID
<20080801131127.20b3acfd.akpm@linux-foundation.org>
In-Reply-To
<alpine.LFD.1.10.0808011253580.3277@nehalem.linux-foundation.org>

On Fri, 1 Aug 2008 12:56:44 -0700 (PDT) Linus Torvalds <torvalds@linux-foundation.org> wrote:

Show 10 quoted lines
> 
> 
> On Fri, 1 Aug 2008, Andrew Morton wrote:
> > 
> > That's how I noticed it - copied, pasted, MTA barfed.
> > 
> > Converting a usable name+email-address into an unusable one seems ... unuseful.
> 
> Umm. Those signed-off ones weren't even _converted_ They were written by 
> people.
This was the Author: line.

Afaik that person doesn't send patches via git, and that this text by some means was transferred into git from an emailed patch.

So unless he explicitly typed a "From:" line (without quoting his name) into the top of his changelog, some piece of software somewhere has stripped the quotes when it was converting his name from the email headers into the git Author: line.

> Also, you seemed to miss the point that it's not a name+email-address. 
I know exactly what it is.
> It's a name. Oh, and there's an email address too. But they aren't 
> connected. We often just print out the name *without* the email address. 
> Why should those things have to know about some totally irrelevant email 
> quoting rules? They weren't emails, didn't know about it, and didn't care.

Well, as I said, it's a minor point. It's just that converting something which _can_ be copied and pasted into an MUA into something which cannot seems... odd.

Most sane MUA's will omit the quotes if the name part does not need them, so simply retaining the quotes if they were originally there would be an OK thing to do.

So how serious is this issue?

Well, if all MUAs either generate synchronous error messages or will insert the quotes for you then not very serious at all.

If, however, there are MUA+MTA combinations which do _not_ inform about or correct the error then this failure to quote the name could cause people's emails to get lost altogether, which is a bit serious.

Also, _most_ git Author: lines _can_ be successfully copied-and-pasted into an MUA. The fact that a small minority of git Author: lines cannot be used this way is a bit dangerous.

Previous: Junio C HamanoNext: Linus Torvalds
Message 6 of 41 in “email address handling”
  1. Andrew MortonAug 1, 2008
  2. Linus TorvaldsAug 1, 2008
  3. Andrew MortonAug 1, 2008
  4. Linus TorvaldsAug 1, 2008
  5. Junio C HamanoAug 1, 2008
  6. Andrew MortonAug 1, 2008
  7. Linus TorvaldsAug 1, 2008
  8. Andrew MortonAug 1, 2008
  9. Linus TorvaldsAug 1, 2008
  10. Linus TorvaldsAug 1, 2008
  11. Andrew MortonAug 1, 2008
  12. Linus TorvaldsAug 1, 2008
  13. Johannes SchindelinAug 1, 2008
  14. Junio C HamanoAug 1, 2008
  15. Johannes SchindelinAug 2, 2008
  16. Junio C HamanoAug 1, 2008
  17. Andrew MortonAug 1, 2008
  18. Theodore TsoAug 1, 2008
  19. Andrew MortonAug 1, 2008
  20. Linus TorvaldsAug 1, 2008
  21. Andrew MortonAug 1, 2008
  22. Linus TorvaldsAug 1, 2008
  23. Andrew MortonAug 1, 2008
  24. Linus TorvaldsAug 1, 2008
  25. Karl HasselströmAug 4, 2008
  26. Linus TorvaldsAug 1, 2008
  27. Andrew MortonAug 1, 2008
  28. Linus TorvaldsAug 1, 2008
  29. Linus TorvaldsAug 1, 2008
  30. Johannes SchindelinAug 2, 2008
  31. Linus TorvaldsAug 2, 2008
  32. Junio C HamanoAug 2, 2008
  33. Johannes SchindelinAug 2, 2008
  34. Linus TorvaldsAug 2, 2008
  35. Junio C HamanoAug 2, 2008
  36. Junio C HamanoAug 2, 2008
  37. Junio C HamanoAug 2, 2008
  38. Linus TorvaldsAug 1, 2008
  39. Andrew MortonAug 1, 2008
  40. Junio C HamanoAug 1, 2008
  41. Andrew MortonAug 1, 2008

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.