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

Re: Quoted-printable support in git am

From
Jeff King <peff@peff.net>
Date
Oct 5, 2017, 09:30 UTC
Message-ID
<20171005093052.3uefgby6a57udoqy@sigill.intra.peff.net>
In-Reply-To
<165c9648-e7f0-66de-b3b9-023c48c49d95@free.fr>
On Thu, Oct 05, 2017 at 11:15:08AM +0200, Mason wrote:
> Is there a magic option I should be passing to git am?
No, it's supposed to work out of the box.
> 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.

Show 16 quoted lines
> The drivers/media/rc/Kconfig:469 part is
> 
> --- a/drivers/media/rc/Kconfig
> +++ b/drivers/media/rc/Kconfig
> @@ -469,6 +469,11 @@ config IR_SIR
>   =09   To compile this driver as a module, choose M here: the module will
>   =09   be called sir-ir.
>  =20
> +config IR_TANGO
> +=09tristate "Sigma Designs SMP86xx IR decoder"
> +=09depends on RC_CORE
> +=09depends on ARCH_TANGO || COMPILE_TEST
> +
>   config IR_ZX
>   =09tristate "ZTE ZX IR remote control"
>   =09depends on RC_CORE
After "git am" bails, what does .git/rebase-apply/patch look like?

It should have the quoted-printable bits decoded. If it doesn't, then we need to figure out why the qp-decoding didn't kick in. It would help to see the whole input mbox then.

If it does have the qp bits decoded, then I'd suspect that maybe there's whitespace damage caused by the MUA.

-Peff
Previous: MasonNext: Junio C Hamano
Message 2 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.