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

Re: git-mailinfo munges the patch?

From
DZDon Zickus <dzickus@redhat.com>
Date
Mar 29, 2007, 20:53 UTC
Message-ID
<20070329205357.GF11029@redhat.com>
In-Reply-To
<7v1wj74xck.fsf@assigned-by-dhcp.cox.net>
On Thu, Mar 29, 2007 at 01:18:51PM -0700, Junio C Hamano wrote:
Show 6 quoted lines
> 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.

Ok. I see what you are saying with the old code. Sorry about that. Do you have a sample file that I can play with to test my fix?

Cheers, Don

Previous: Junio C HamanoNext: Linus Torvalds
Message 2 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.