Skip to content

File renames aren't handled properly because PatchSet.path returns a source filename #77

Description

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.

filepath = self.source_file

Due to that, tools which detect changed files (like lint-diffs) use non-existing files.

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