1 file changed
@@ -72,6 +72,7 @@ def run_commit_hook(name, index): | |||
| 72 | 72 | env=env, | |
| 73 | 73 | stdout=subprocess.PIPE, | |
| 74 | 74 | stderr=subprocess.PIPE, | |
| 75 | + cwd=index.repo.working_dir, | ||
| 75 | 76 | close_fds=(os.name == 'posix')) | |
| 76 | 77 | stdout, stderr = cmd.communicate() | |
| 77 | 78 | cmd.stdout.close() | |
0 commit comments