d@0: #!/bin/sh d@0: # d@0: # An example hook script to check the commit log message taken by d@0: # applypatch from an e-mail message. d@0: # d@0: # The hook should exit with non-zero status after issuing an d@0: # appropriate message if it wants to stop the commit. The hook is d@0: # allowed to edit the commit message file. d@0: # d@0: # To enable this hook, rename this file to "applypatch-msg". d@0: d@0: . git-sh-setup d@0: test -x "$GIT_DIR/hooks/commit-msg" && d@0: exec "$GIT_DIR/hooks/commit-msg" ${1+"$@"} d@0: :