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

git am fails to add new files

From
TKThomas Koch <thomas@koch.ro>
Date
Feb 2, 2010, 15:07 UTC
Message-ID
<201002021607.25719.thomas@koch.ro>
Hi,

I'm using GIT on Debian unstable (1.6.6.1). When applying patches I created with git format-patch and applying them afterwards with git am, this fails with every patch that adds a new file. Is there any option I forgot to give to git am? Or is this a bug.

Best regards,
Thomas Koch, http://www.koch.ro
Next: Jeff King
Message 1 of 2 in “git am fails to add new files”
  1. Thomas KochFeb 2, 2010
  2. Jeff KingFeb 3, 2010

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.