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
File renames aren't handled properly because PatchedFile.path returns a source filename which doesn't exist after the operation. Probably it should return a target filename.
I see, returning target file for renamed files makes sense.
OTOH, thanks for the additional report and the example, you are right, it should include the sub/ in the path.
File renames aren't handled properly because PatchedFile.path returns a source filename which doesn't exist after the operation. Probably it should return a target filename.
python-unidiff/unidiff/patch.py
Line 369 in 9a473c8
Due to that, tools which detect changed files (like lint-diffs) use non-existing files.
The text was updated successfully, but these errors were encountered: