Stefan Tauner | 7634708 | 2016-11-27 17:45:49 +0100 | [diff] [blame] | 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 |
| 13 | test -x "$GIT_DIR/hooks/commit-msg" && |
| 14 | exec "$GIT_DIR/hooks/commit-msg" ${1+"$@"} |
| 15 | : |