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

Re: [BUG PATCH RFC] mailinfo: correctly handle multiline 'Subject:' header

From
Junio C Hamano <gitster@pobox.com>
Date
Jan 8, 2009, 08:13 UTC
Message-ID
<7vy6xm5i6h.fsf@gitster.siamese.dyndns.org>
In-Reply-To
<20090107224342.GB4946@roro3>
Kirill Smelkov <kirr@landau.phys.spbu.ru> writes:
Show 7 quoted lines
> On Fri, Dec 26, 2008 at 09:38:41PM +0300, Kirill Smelkov wrote:
>> When native language (RU) is in use, subject header usually contains several
>> parts, e.g.
> ...
> Junio, All,
>
> What about this patch?

What's most interesting is that I do not recall seeing this patch before. Neither gmane (which is my back-up interface to the mailing list) nor my mailbox seems to have a copy, and from the look of quoted parts (namely, some Russian strings in the message), it is not implausible that my spam filter (either on my receiving end or at the ISP) may have eaten it.

Show 5 quoted lines
> It at least exposes bug in git-mailinfo wrt handling of multiline
> subjects, and in very details documents it and adds a test for it.
>
> ..., but may I try to attract git
> community attention one more time?
It is very appreciated.
> P.S. original post with patch:
>
> http://marc.info/?l=git&m=123031899307286&w=2

I have not had chance to look at your patch at marc yet, but from the look of your problem description, I presume you could trigger this with any utf-8 b-encoded loooooong subject line?

Previous: Kirill SmelkovNext: Junio C Hamano
Message 3 of 12 in “mailinfo: correctly handle multiline 'Subject:' header”
  1. mailinfo: correctly handle multiline 'Subject:' headerKirill Smelkov, Dec 26, 2008
  2. Kirill SmelkovJan 7, 2009
  3. Junio C HamanoJan 8, 2009
  4. Junio C HamanoJan 8, 2009
  5. Alexander PotashevJan 8, 2009
  6. Kirill SmelkovJan 8, 2009
  7. Kirill SmelkovJan 10, 2009
  8. Junio C HamanoJan 11, 2009
  9. Kirill SmelkovJan 12, 2009
  10. Junio C HamanoJan 12, 2009
  11. Kirill SmelkovJan 13, 2009
  12. Kirill SmelkovJan 14, 2009

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.