Updated the post-commit hook.