1#!/bin/sh 2# 3# A hook script to check the commit log message taken by 4# applypatch from an e-mail message (via git-am). 5# We simply do the same as for other commit messages 6# 7# The hook should exit with non-zero status after issuing an 8# appropriate message if it wants to stop the commit. The hook is 9# allowed to edit the commit message file. 10# 11 12. git-sh-setup 13test -x "$GIT_DIR/hooks/commit-msg" && 14 exec "$GIT_DIR/hooks/commit-msg" ${1+"$@"} 15: 16