rlm@11: #!/bin/sh rlm@11: # rlm@11: # An example hook script to verify what is about to be committed rlm@11: # by applypatch from an e-mail message. rlm@11: # rlm@11: # The hook should exit with non-zero status after issuing an rlm@11: # appropriate message if it wants to stop the commit. rlm@11: # rlm@11: # To enable this hook, rename this file to "pre-applypatch". rlm@11: rlm@11: . git-sh-setup rlm@11: test -x "$GIT_DIR/hooks/pre-commit" && rlm@11: exec "$GIT_DIR/hooks/pre-commit" ${1+"$@"} rlm@11: :