blob: b1f187c2e9acaba942639bca90a63c5b4f058967 [file] [log] [blame]
Junio C Hamano4426ac72005-08-19 13:53:13 -07001#!/bin/sh
2#
3# An example hook script to verify what is about to be committed
4# by applypatch from an e-mail message.
5#
6# The hook should exit with non-zero status after issuing an
7# appropriate message if it wants to stop the commit.
8#
Junio C Hamanof98f8cb2008-06-24 18:45:21 -07009# To enable this hook, rename this file to "pre-applypatch".
Junio C Hamano4426ac72005-08-19 13:53:13 -070010
Junio C Hamanoa2047562006-02-26 15:16:41 -080011. git-sh-setup
Junio C Hamano4426ac72005-08-19 13:53:13 -070012test -x "$GIT_DIR/hooks/pre-commit" &&
13 exec "$GIT_DIR/hooks/pre-commit" ${1+"$@"}
14: