Skip to content

trouble with strip level with git patches #49

Open
@Trophime

Description

@Trophime

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions