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

Re: let git-diff allow patch to delete empty files?

From
Nanako Shiraishi <nanako3@lavabit.com>
Date
Nov 5, 2008, 21:09 UTC
Message-ID
<20081106060940.6117@nanako3.lavabit.com>
In-Reply-To
<49118FEE.30408@liddicott.com>
Quoting "Sam Liddicott" <sam@liddicott.com>:
> In some cases "patch" cannot apply diff's generated using git-diff, I've
> had a "git diff" output look like this when an empty file was removed as
> the only change:
Even if you do not use git to manage your changes, you can use "git apply" from outside of a git repository as a replacement for "patch".
-- 
Nanako Shiraishi
http://ivory.ap.teacup.com/nanako3/
Previous: Sam LiddicottNext: Sam Liddicott
Message 3 of 4 in “let git-diff allow patch to delete empty files?”
  1. Sam LiddicottNov 5, 2008
  2. Sam LiddicottNov 5, 2008
  3. Nanako ShiraishiNov 5, 2008
  4. Sam LiddicottNov 6, 2008

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.