mirror of
https://github.com/pre-commit/pre-commit-hooks.git
synced 2026-04-07 12:26:52 +00:00
Merge pull request #90 from cchristous/master
Reformatted --diff-filter git argument
This commit is contained in:
commit
78fd6916dd
1 changed files with 1 additions and 1 deletions
|
|
@ -11,7 +11,7 @@ class CalledProcessError(RuntimeError):
|
||||||
|
|
||||||
def added_files():
|
def added_files():
|
||||||
return set(cmd_output(
|
return set(cmd_output(
|
||||||
'git', 'diff', '--staged', '--name-only', '--diff-filter', 'A',
|
'git', 'diff', '--staged', '--name-only', '--diff-filter=A',
|
||||||
).splitlines())
|
).splitlines())
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue