You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
$ filterdiff -p1 -x selftests/\* < foo.patch | patch -p1 --dry-run
can't find file to patch at input line 2
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|diff --git a/selftests/functional/test_basic.py b/selftests/functional/test_basic.py
|index 468b7d57..ed494733 100644
--------------------------
File to patch:
The text was updated successfully, but these errors were encountered:
If I have a patch produced from git such as:
and run it through
filterdiff -p1 -x selftests/\*
, the header of the file being excluded from the patch is still included:Which causes
patch
to barf:The text was updated successfully, but these errors were encountered: