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

Re: Quoted-printable support in git am

From
MMason <slash.tmp@free.fr>
Date
Oct 5, 2017, 11:58 UTC
Message-ID
<683bd77f-ecf2-33e9-8f45-24545a2785eb@free.fr>
In-Reply-To
<CAPc5daX+N_Z6v-NxOb5cHh1V3Ctu7uQ+QFHzN9ATTQ22pVAfQw@mail.gmail.com>
On 05/10/2017 11:43, Junio C Hamano wrote:
Show 16 quoted lines
> On Thu, Oct 5, 2017 at 6:30 PM, Jeff King wrote:
> 
>> Mason wrote:
>>
>>> The patch header contains:
>>>
>>> Content-Type: text/plain; charset=UTF-8; format=flowed
>>> Content-Transfer-Encoding: quoted-printable
>>
>> That looks right. Though I wouldn't be surprised if whatever generated
>> the "flowed" also screwed up patch whitespace.
>> ...
>> If it does have the qp bits decoded, then I'd suspect that maybe there's
>> whitespace damage caused by the MUA.
> 
> I would be surprised if MUA that says format=flawed did _not_ mangle the patch.
format=flawed  :-) Did you write that on purpose?

Anyway, it turns out that I had somehow managed to generate an invalid patch (with a spurious leading space in the 3+3 context lines); the quoted-printable mangling was, in fact, a red-herring. Doh!

Sorry for the noise.
Previous: Junio C Hamano
Message 4 of 4 in “Quoted-printable support in git am”
  1. MasonOct 5, 2017
  2. Jeff KingOct 5, 2017
  3. Junio C HamanoOct 5, 2017
  4. MasonOct 5, 2017

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.