1 diff --git a/pylama/hook.py b/pylama/hook.py
2 index 029c9dc..9f1a9b9 100644
5 @@ -26,7 +26,7 @@ def run(command: str) -> Tuple[int, List[bytes], List[bytes]]:
7 def git_hook(error=True):
8 """Run pylama after git commit."""
9 - _, files_modified, _ = run("git diff-index --cached --name-only HEAD")
10 + _, files_modified, _ = run("@git@ diff-index --cached --name-only HEAD")
12 options = parse_options()