Skip to content

Account for moved files #14

Description

@samueljsb

If files are moved, they might change ownership. This tools currently doesn't notice that: we only check files that exist in the currently checked out branch.

We should:

  1. use git ls-tree instead of git ls-files to get the files that exist on the target branch;
  2. use git diff to find moved files and show their codeowner changes, too.

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