From: Don Zickus Date: Thu, 29 Mar 2007 21:53:25 GMT Subject: Re: git-mailinfo munges the patch? Message-ID: <20070329215325.GH11029@redhat.com> In-Reply-To: <7vejn73fqg.fsf@assigned-by-dhcp.cox.net> On Thu, Mar 29, 2007 at 02:24:39PM -0700, Junio C Hamano wrote: > Don Zickus writes: > > > On Thu, Mar 29, 2007 at 01:18:51PM -0700, Junio C Hamano wrote: > >> 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? > > Attached are two files. Thanks. I'll play with them later tonight. Cheers, Don