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

git apply-diff / am cannot deal with patches generated with git diff/format-patch --noprefix?

From
marcel partap <mpartap@gmx.net>
Date
Aug 10, 2011, 22:25 UTC
Message-ID
<4E43053C.5080407@gmx.net>
...at least it seems so. -p0 does not help:
> fatal: git apply: bad git-diff - inconsistent old filename on line xx

So it is not possible to have diff.noprefix set as default and generate patches that can be circulated? Or am i missing something there? #regards/marcel

Next: Junio C Hamano
Message 1 of 2 in “git apply-diff / am cannot deal with patches generated with git diff/format-patch --noprefix?”
  1. marcel partapAug 10, 2011
  2. Junio C HamanoAug 10, 2011

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.