patchutils icon indicating copy to clipboard operation
patchutils copied to clipboard

`interdiff` not parsing patch with rename

Open thejcannon opened this issue 9 months ago • 0 comments

Akin to https://github.com/twaugh/patchutils/issues/22, interdiff is choking on patchfiles continaing renames:

before.diff:

diff --git a/Lib/typing.py b/Lib/_typing.py
similarity index 100%
rename from Lib/typing.py
rename to Lib/_typing.py

(anything for after.diff)

$ interdiff -q before.diff after.diff`
interdiff: before.patch doesn't contain a patch
--- /dev/null
+++ b/Lib/typing.py
[...]

thejcannon avatar Apr 03 '25 19:04 thejcannon