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:54 UTC
Message-ID
<20080801135421.5ca0f6af.akpm@linux-foundation.org>
In-Reply-To
<alpine.LFD.1.10.0808011335230.3277@nehalem.linux-foundation.org>

On Fri, 1 Aug 2008 13:40:00 -0700 (PDT) Linus Torvalds <torvalds@linux-foundation.org> wrote:

Show 22 quoted lines
> 
> 
> On Fri, 1 Aug 2008, Andrew Morton wrote:
> > 
> > pls read earlier email.
> 
> I did. It seems that your complaint is:
> 
> > 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.
> 
> And yes, git will strip out all the crap and try to make it into a real 
> name.
> 
> The part _you_ don't seem to understand is that my point is
> 
>  - git changed that "From:" line to an "Author:" line
> 
>  - "git log" isn't an email system. It's a human-readable (and 
>    machine-parseable, for that matter) log.

What you're describing here is some explicit or implicit git design decision and then telling me how it's implemented.

Well, what I'm saying is that it was an incorrect design decision.
> If you want to turn it into emails, you need to follow the email rules. 
> You're cutting-and-pasting anyway, it's not like this is fundamentally 
> hard.
Here is a real story from a real user of your software:

I very very frequently copy and paste name+email address out of git output and into an MUA. Have done it thousands and thousands of times, and it has always worked. I'm sure that many others do the same thing.

Yesterday, I copied and pasted what _looked_ like a usable name+email-address from some git output and into an MUA. Unlike the thousands of preceding times, it did not work.

I think it was reasonable of me to assume that it would work. Blaming the surprised and misled user for not understanding some earlier internal design decision didn't satisfy him!

True story!  From a user.
Previous: Linus TorvaldsNext: Linus Torvalds
Message 11 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.