From: Erik Faye-Lund Date: Sun, 19 Sep 2010 19:44:15 GMT Subject: Re: Make format-patch produce UTF-8 `From:' header (was Re: git am should recognize >From) Message-ID: In-Reply-To: <87y6axshmt.fsf_-_@gmail.com> On Sun, Sep 19, 2010 at 8:38 PM, Štěpán Němec wrote: > Jonathan Nieder writes: > >> Maybe format-patch could provide another mode to produce patches that >> do not include unnecessary headers (in particular, leaving out the >> difficult "From " line and using UTF-8 instead of quoted-printable for >> the "From: " line). > > FWIW, the quoted-printable `From:' encoding has always annoyed me -- I > replace it manually with my name & address in UTF-8 every time I send > out a patch. What is the reason format-patch does that (and if there is > a reason not to change the default, could an option to disable it be > provided)? > I believe the reason is that RFC 5322 doesn't allow header-fields to be encoded in other ways that by QP, but I could be wrong. QP being used even when the "From:"-line is inlined in the message body seems to be an artefact of the way it's done, and should be possible to avoid.