Closed brianjmurrell closed 3 years ago
Interestingly, this doesn't seem to happen if my patch has two files that it patches and I exclude the first file in my filterdiff
command.
filterdiff -p1 -x selftests/* < foo.patch returned one empty line
version of filterdiif
filterdiff --version
filterdiff - patchutils version 0.4.2
Hrm.
$ filterdiff --version
filterdiff - patchutils version 0.3.3
I'll go bug RHEL to update, fix the bug at least. Sorry for the noise.
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: