Mercurial > lasercutter
diff graster/hacklab-engraver/.git/hooks/applypatch-msg.sample @ 11:f952052e37b7
trying a fix.
author | Robert McIntyre <rlm@mit.edu> |
---|---|
date | Tue, 24 Aug 2010 19:06:45 -0400 |
parents | |
children |
line wrap: on
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/graster/hacklab-engraver/.git/hooks/applypatch-msg.sample Tue Aug 24 19:06:45 2010 -0400 1.3 @@ -0,0 +1,15 @@ 1.4 +#!/bin/sh 1.5 +# 1.6 +# An example hook script to check the commit log message taken by 1.7 +# applypatch from an e-mail message. 1.8 +# 1.9 +# The hook should exit with non-zero status after issuing an 1.10 +# appropriate message if it wants to stop the commit. The hook is 1.11 +# allowed to edit the commit message file. 1.12 +# 1.13 +# To enable this hook, rename this file to "applypatch-msg". 1.14 + 1.15 +. git-sh-setup 1.16 +test -x "$GIT_DIR/hooks/commit-msg" && 1.17 + exec "$GIT_DIR/hooks/commit-msg" ${1+"$@"} 1.18 +: