add fallback to post-commit hook