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

Re: [PATCH] blame: Improve parsing for emails with spaces

From
Jeff King <peff@github.com>
Date
Apr 29, 2011, 19:13 UTC
Message-ID
<20110429191355.GC27268@sigill.intra.peff.net>
In-Reply-To
<7vvcxxvsz4.fsf@alter.siamese.dyndns.org>
On Fri, Apr 29, 2011 at 10:59:43AM -0700, Junio C Hamano wrote:
Show 12 quoted lines
> > Hmm. That address seems bogus, and I wonder if we should be rejecting it
> > at commit time. Still, it is something we may run across in existing
> > repositories, so handling it more gracefully makes sense.
> 
> Perhaps but within reason.  
> 
> What new types of breakages are we proposing to tolerate, what breakages
> are we declaring not worth fixing, and what is the price of not loosening
> this?  Without this patch, such a broken commit will result in the author
> email shown somewhat broken, but the original is already broken to begin
> with, and also the entry for the blamed line will come with its commit
> object name anyway, so I do not think it is such a big deal.

I'm pretty sure such an address would make a non-rfc822-compliant "from" header when used with format-patch. But given that it is obviously a bogus address, I don't think there's much we can do anyway, and anyone looking at will say "Oh, that's wrong". So it's probably not a big deal.

-Peff
Previous: Josh Stone
Message 6 of 6 in “blame: Improve parsing for emails with spaces”
  1. blame: Improve parsing for emails with spacesJosh Stone, Apr 21, 2011
  2. Jeff KingApr 29, 2011
  3. Junio C HamanoApr 29, 2011
  4. Junio C HamanoApr 29, 2011
  5. Josh StoneApr 29, 2011
  6. Jeff KingApr 29, 2011

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.