diff --git a/scripts/migrate-black.py b/scripts/migrate-black.py index 63cc5096a93..ff52939460c 100755 --- a/scripts/migrate-black.py +++ b/scripts/migrate-black.py @@ -49,6 +49,7 @@ def blackify(base_branch: str, black_command: str, logger: logging.Logger) -> in [ "git", "diff", + "--binary", "--find-copies", "%s-black..%s-black" % (last_commit, commit), ],