From: Junio C Hamano Date: Mon, 14 Dec 2009 20:34:34 GMT Subject: Re: am fails to apply patches for files with CRLF lineendings Message-ID: <7viqc9i9b9.fsf@alter.siamese.dyndns.org> In-Reply-To: <7vvdg9i9mn.fsf@alter.siamese.dyndns.org> Junio C Hamano writes: > Björn Steinbrink writes: > >> Commit c2ca1d7 "Allow mailsplit ... to handle mails with CRLF line-endings" >> seems to be responsible. > > Yes, that commit is not only responsible but was deliberate. For a better > backstory, see: > > http://thread.gmane.org/gmane.comp.version-control.git/124718/focus=124721 > > You'd notice that I was one of the people who didn't want to have this > change, so you don't need to convince _me_ that this was not a change to > keep everybody happy, but you'd need to try a better job than I did back > then to convince people who thought that "am" should directly work on > "Thunderbird saved mails" that what they want was a bad idea X-<. Having said that, I think you can tell "format-patch" to emit it as mime attachment to work this around. It _might_ even make sense to do so automatically when the payload contains CRLF but that is a separate issue.