techtonik / python-patch

Library to parse and apply unified diffs
https://pypi.python.org/pypi/patch
106 stars 63 forks source link

How to generate the correct path file #53

Open ghost opened 6 years ago

ghost commented 6 years ago

I'm using git diff xxx > patch, when patch, failed with error:

invalid hunk header in patch