diff options
author | Jesse Duffield <jessedduffield@gmail.com> | 2018-08-14 08:42:08 +1000 |
---|---|---|
committer | Jesse Duffield <jessedduffield@gmail.com> | 2018-08-14 08:42:08 +1000 |
commit | 7ecbd7fbb349ea5c4916677f992508f5b4011149 (patch) | |
tree | 366e9a553edf0ba5ed81f46ca6adfa5a375b4ea3 /test | |
parent | 45f640941c2f7797a686e9f4a58df2d03fcf8af2 (diff) |
update pre-commit hook
Diffstat (limited to 'test')
-rwxr-xr-x | test/repos/pre_commit_hook.sh | 2 |
1 files changed, 1 insertions, 1 deletions
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 |