Issues escaping Froms
Attempting to fetch [email protected] with b4 am I get a mailbox which is for example interpreted by mutt as:
-> 1 N 09/16 Peter Rosin (1.7K)
2 N C 09/20 Peter Rosin ( 0K) [PATCH] ASoC: pcm512x: Mend accesses to
Due to the fact that the message has a From line in it as well as a
From: but that doesn't get escaped by b4 so mail software interprets it as the start of a new message in the mailbox.
Quoted 9 lines · Mark Brown
Attempting to fetch [email protected] with b4 am I get a mailbox which is for example interpreted by mutt as:
-> 1 N 09/16 Peter Rosin (1.7K)
2 N C 09/20 Peter Rosin ( 0K) [PATCH] ASoC: pcm512x: Mend accesses toDue to the fact that the message has a From line in it as well as a
From: but that doesn't get escaped by b4 so mail software interprets it as the start of a new message in the mailbox.
Unfortunately, the "mbox" files that git expects for "git am" are not the "mbox" files expected by mutt and other MUAs. If we escape the "From " entries as mandated by the format, they don't get unescaped by "git am" and make their way into git commits:
https://git.kernel.org/torvalds/c/137733d08f4a
There is no working around this, short of saving everything as maildirs.
-K
Quoted 8 lines · Konstantin Ryabitsev
Unfortunately, the "mbox" files that git expects for "git am" are not the "mbox" files expected by mutt and other MUAs. If we escape the "From " entries as mandated by the format, they don't get unescaped by "git am" and make their way into git commits:
https://git.kernel.org/torvalds/c/137733d08f4aThere is no working around this, short of saving everything as maildirs.
Hrm, right. That's awesome. There's something fishy going on here somewhere thoguh - I'm also seeing it failing to find the patch in
[email protected]
which has similar kinds of malformation in the incoming message, though the result ends up different.
Quoted 6 lines · Mark Brown
Quoted 1 line
There is no working around this, short of saving everything as maildirs.
Hrm, right. That's awesome. There's something fishy going on here somewhere thoguh - I'm also seeing it failing to find the patch in
[email protected]
Hmm... this looks like a bug. I'll check it out.
-K