A git pre-commit hook for style-checking the diff.