Reformatted --diff-filter git argument

This makes the command compatible with older versions of git.
This commit is contained in:
Corey Christous
2015-12-01 16:59:22 -05:00
parent 0ff8620e03
commit a23c58298c

View File

@ -11,7 +11,7 @@ class CalledProcessError(RuntimeError):
def added_files():
return set(cmd_output(
'git', 'diff', '--staged', '--name-only', '--diff-filter', 'A',
'git', 'diff', '--staged', '--name-only', '--diff-filter=A',
).splitlines())