yading@10: #!/bin/sh yading@10: # yading@10: # An example hook script to check the commit log message taken by yading@10: # 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. The hook is yading@10: # allowed to edit the commit message file. yading@10: # yading@10: # To enable this hook, rename this file to "applypatch-msg". yading@10: yading@10: . git-sh-setup yading@10: test -x "$GIT_DIR/hooks/commit-msg" && yading@10: exec "$GIT_DIR/hooks/commit-msg" ${1+"$@"} yading@10: :