Some shared logic for the git-*-proto modules.