Do we want 'svn patch' to be able to add empty files?
(This started out as me trying to apply added paths using the information
from a patch file in the git diff format. The only that I could come up
with where an add could not be detected by just looking at the regular
unidiff headers was adding an empty file (it has no unidiff headers).
If anyone has any other cases, please let me know.)
The question is: Do we want 'svn patch to be able to add empty files.
+ It's consistent with the idea of a git diff dealing with tree changes.
- It adds an extra special case to the code. I've seen GNU patch with
its gigantic if-spaghetti's. Just don't want to obscure the code with
something that's not needed.
- There might not be a use case for it, though I think I've heard of the
use of empty files as markers. Just can't come up with an example
Received on 2010-09-01 11:29:56 CEST
This is an archived mail posted to the Subversion Dev