Merge pull request #268619 from tweag/lib-descriptions
[NixPkgs.git] / pkgs / development / python-modules / pylama / paths.patch
blobab6a4719f354ec24fd1d876389649e97e3fc7aed
1 diff --git a/pylama/hook.py b/pylama/hook.py
2 index 029c9dc..9f1a9b9 100644
3 --- a/pylama/hook.py
4 +++ b/pylama/hook.py
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()
13 setup_logger(options)