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

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

From
JKJulian Andres Klode <jak@jak-linux.org>
Date
Dec 21, 2015, 17:21 UTC
Message-ID
<CAEA6rAyhsuVvji=KjX3q+rq-tF4TTRfAgxjpTcPFU_YkNE-gfA@mail.gmail.com>
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/.
Message 1 of 1 in “Applying attached patches with git-am fails due to leading > in patch”
  1. Julian Andres KlodeDec 21, 2015

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.