threads / discuss / 41054

Applying attached patches with git-am fails due to leading > in patch

Subject: Applying attached patches with git-am fails due to leading > in patch

## tl;dr

One message between Dec 21, 2015 and Dec 21, 2015.

replies: 0people: 1as markdown or json

Julian Andres Klode· Dec 21, 2015, 17:21 UTC · lore
Hi everyone,

when I get an email with a patch attached, instead of inline, and save the attachment; the first line "From <hash> ..." has a ">" in front of it, which causes git-am to not recognize the patch format.

Would it be possible to just ignore the > on that line and then read the patch correctly? It's a bit annoying to have to remove one byte at the beginning of the patch before I can apply it.

Thanks,
Julian
-- 
Julian Andres Klode  - Debian Developer, Ubuntu Member

See http://wiki.debian.org/JulianAndresKlode and http://jak-linux.org/.

← back to recent threads