Loading hooks/copyright.py +1 −1 Original line number Diff line number Diff line Loading @@ -37,7 +37,7 @@ def main(): """ CLI entrypoint """ cmd = ['git', 'diff', '--no-commit-id', '--name-only', '-z'] cmd = ['git', 'diff', '--no-commit-id', '--name-only', '-z', 'HEAD'] changed = set(check_output(cmd, text=True).split('\0')) changed.remove('') missing = [] Loading Loading
hooks/copyright.py +1 −1 Original line number Diff line number Diff line Loading @@ -37,7 +37,7 @@ def main(): """ CLI entrypoint """ cmd = ['git', 'diff', '--no-commit-id', '--name-only', '-z'] cmd = ['git', 'diff', '--no-commit-id', '--name-only', '-z', 'HEAD'] changed = set(check_output(cmd, text=True).split('\0')) changed.remove('') missing = [] Loading