Thread (4 messages) flat view 4 messages, 2 authors, 2016-06-15

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

From: Sam Liddicott <hidden>
Date: 2016-06-15 22:45:36

* Nanako Shiraishi wrote, On 05/11/08 21:09:
Quoting "Sam Liddicott" [off-list ref]:

  
quoted
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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help