From: Holger Brunn Date: Wed, 14 Sep 2022 03:06:54 +0000 (+0200) Subject: [FIX] migrate-black.py: don't fail on binary files (#3266) X-Git-Url: https://git.madduck.net/etc/vim.git/commitdiff_plain/72a25591b04b40d1c9b67844120457297c93ecb8?ds=sidebyside [FIX] migrate-black.py: don't fail on binary files (#3266) --- diff --git a/scripts/migrate-black.py b/scripts/migrate-black.py index 63cc509..ff52939 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), ],