Fun with git hooks