I have a patch file for some software (Magento) and want to apply it to my current project.
The patch file contains also references to files in the var/packages
folder which I do not want (I deleted this folder in my installation).
When applying this patch file (patch -p1 < the.patch
), I get lots of warnings like:
The next patch would delete the file var/package/Foo_Bar.1.7.0.0.xml, which does not exist! Assume -R? [n] ^C
Is there any way to tell the patch command to just ignore patches for this folder?