add support for the pre-push hook