A pre-commit hook for Linux and OS X users.