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