Merge pull request #90 from cchristous/master Reformatted --diff-filter git argument
diff --git a/pre_commit_hooks/util.py b/pre_commit_hooks/util.py index 7c2175e..bacb242 100644 --- a/pre_commit_hooks/util.py +++ b/pre_commit_hooks/util.py
@@ -11,7 +11,7 @@ def added_files(): return set(cmd_output( - 'git', 'diff', '--staged', '--name-only', '--diff-filter', 'A', + 'git', 'diff', '--staged', '--name-only', '--diff-filter=A', ).splitlines())