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

git-mailinfo munges the patch?

From
Junio C Hamano <junkio@cox.net>
Date
Mar 29, 2007, 20:18 UTC
Message-ID
<7v1wj74xck.fsf@assigned-by-dhcp.cox.net>

I noticed that the new mailinfo when splitting a message into cover letter and the patch text seems to munge the patch text, applying the same "if content-type is not there then assume latin-1 and recode to utf-8" logic that is applied to the commit log message. That munging should not be done to the patch text, and it appears the current code botches it.

I am a bit too busy with day job today and haven't had a chance to look into this problem fully, but 1.5.0.3 does not seem to have this problem but post 87ab7992 mailinfo is problematic.

Next: Don Zickus
Message 1 of 6 in “git-mailinfo munges the patch?”
  1. Junio C HamanoMar 29, 2007
  2. Don ZickusMar 29, 2007
  3. Linus TorvaldsMar 29, 2007
  4. Don ZickusMar 29, 2007
  5. Junio C HamanoMar 29, 2007
  6. Don ZickusMar 29, 2007

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.