Re: let git-diff allow patch to delete empty files?
- From
- Sam Liddicott <sam@liddicott.com>
- Date
- Nov 6, 2008, 03:33 UTC
- Message-ID
- <4912AB20.4070608@liddicott.com>
- In-Reply-To
- <20081106060940.6117@nanako3.lavabit.com>
* Nanako Shiraishi wrote, On 05/11/08 21:09:
Show 11 quoted lines
> 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". > >
Good tip, thanks.
In this case it is rpmbuild that is doing the patching, and making git a build-requires would not be popular.
Sam