Commit 8b3677e2 authored by Dom Sekotill's avatar Dom Sekotill
Browse files

Fix filter in copyright hook

It finally is limited to *any* file that has changed since the last
commit.
parent 10685cfc
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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 = []