diff --git a/test/repos/pre_commit_hook.sh b/test/repos/pre_commit_hook.sh index 8857f4145..1c24bf19f 100755 --- a/test/repos/pre_commit_hook.sh +++ b/test/repos/pre_commit_hook.sh @@ -2,7 +2,7 @@ set -ex; rm -rf repo; mkdir repo; cd repo git init -cp ../pre-commit .git/hooks/pre-commit +cp ../extras/pre-commit .git/hooks/pre-commit chmod +x .git/hooks/pre-commit echo "file" > file