blob: 32ff6c70066d0aa922fa0e9b25aeadf600f36fb4 [file] [log] [blame]
Stefan Tauner76347082016-11-27 17:45:49 +01001#!/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: