hooks--pre-applypatch.sample 398 Bytes
Newer Older
1 2 3 4 5 6 7 8
#!/bin/sh
#
# An example hook script to verify what is about to be committed
# by applypatch from an e-mail message.
#
# The hook should exit with non-zero status after issuing an
# appropriate message if it wants to stop the commit.
#
9
# To enable this hook, rename this file to "pre-applypatch".
10

Junio C Hamano's avatar
Junio C Hamano committed
11
. git-sh-setup
12 13 14
test -x "$GIT_DIR/hooks/pre-commit" &&
	exec "$GIT_DIR/hooks/pre-commit" ${1+"[email protected]"}
: