python-patch icon indicating copy to clipboard operation
python-patch copied to clipboard

trouble with strip level with git patches

Open Trophime opened this issue 8 years ago • 0 comments

Hi, I have created patches using let's say git format-patch -1 To apply the patch using regular patch command line I apply: patch -p1 < patch

When trying to use instead patch.py I've tried patch.py -p1 -- < patch It fails

You have to apply: -p0 to get patch.py to work This is very disturbing behaviour... Would it be possible to use the same strip level as in regular patch

Best

Trophime avatar Feb 16 '17 12:02 Trophime