undo the post-commit hook stuff