The commit hook has been copied from the kmail source code.

To install, symlink the hooks into ``.git/hooks``