From: Sam Liddicott Date: Thu, 06 Nov 2008 03:33:17 GMT Subject: Re: let git-diff allow patch to delete empty files? Message-ID: <4912AB20.4070608@liddicott.com> In-Reply-To: <20081106060940.6117@nanako3.lavabit.com> * Nanako Shiraishi wrote, On 05/11/08 21:09: > Quoting "Sam Liddicott" : > > >> 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