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

Re: git email From: parsing (was Re: [GIT PULL] Staging/IIO driver patches for 4.11-rc1)

From
SSSimon Sandström <simon@nikanor.nu>
Date
Feb 23, 2017, 07:59 UTC
Message-ID
<20170223075859.g6ert55bvbe44dxc@localhost>
In-Reply-To
<20170223061702.bzzgrntotppvwdw6@sigill.intra.peff.net>
On Thu, Feb 23, 2017 at 01:17:02AM -0500, Jeff King wrote:
Show 28 quoted lines
> On Thu, Feb 23, 2017 at 07:04:44AM +0100, Greg KH wrote:
> 
> > 
> > I don't know what happened, I used git for this, I don't use quilt for
> > "normal" patches accepted into my trees anymore, only for stable kernel
> > work.
> > 
> > So either the mail is malformed, or git couldn't figure it out, I've
> > attached the original message below, and cc:ed the git mailing list.
> > 
> > Also, Simon emailed me after this was committed saying something went
> > wrong, but I couldn't go back and rebase my tree.  Simon, did you ever
> > figure out if something was odd on your end?
> > 
> > Git developers, any ideas?
> 
> The problem isn't on the applying end, but rather on the generating end.
> The From header in the attached mbox is:
> 
>   From: =?us-ascii?B?PT9VVEYtOD9xP1NpbW9uPTIwU2FuZHN0cj1DMz1CNm0/PQ==?= <simon@nikanor.nu>
> 
> If you de-base64 that, you get:
> 
>   =?UTF-8?q?Simon=20Sandstr=C3=B6m?=
> 
> So something double-encoded it before it got to your mbox.
> 
> -Peff
Hi,

Yes, Mutt on my end caused this. I used Mutt 1.5.23, and I either had it misconfigured or it simply can't handle files that contains encoded From:/Subject:-fields when you run it with mutt -H <file>.

I upgraded to Mutt 1.7.1 which solved the problem.
- Simon
Previous: Jeff KingNext: Geert Uytterhoeven
Message 3 of 5 in “git email From: parsing (was Re: [GIT PULL] Staging/IIO driver patches for 4.11-rc1)”
  1. Greg KHFeb 23, 2017
  2. Jeff KingFeb 23, 2017
  3. Simon SandströmFeb 23, 2017
  4. Geert UytterhoevenFeb 24, 2017
  5. Jeff KingFeb 24, 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.