conan-io / python-patch-ng

Library to parse and apply unified diffs
https://pypi.org/project/patch-ng
Other
19 stars 8 forks source link

Empty files are not patchable #35

Open mohamed-omara39 opened 1 month ago

mohamed-omara39 commented 1 month ago

How can I patch an empty file ? when I use the library to patch a file that is empty in both ways . I am using patch-ng 1.18.0 . is this version fixed in a newer version ?