Mercurial > lasercutter
annotate graster/hacklab-engraver/.git/hooks/applypatch-msg.sample @ 18:a769347618a1
saving
author | Robert McIntyre <rlm@mit.edu> |
---|---|
date | Sun, 29 Aug 2010 23:44:59 -0400 |
parents | f952052e37b7 |
children |
rev | line source |
---|---|
rlm@11 | 1 #!/bin/sh |
rlm@11 | 2 # |
rlm@11 | 3 # An example hook script to check the commit log message taken by |
rlm@11 | 4 # applypatch from an e-mail message. |
rlm@11 | 5 # |
rlm@11 | 6 # The hook should exit with non-zero status after issuing an |
rlm@11 | 7 # appropriate message if it wants to stop the commit. The hook is |
rlm@11 | 8 # allowed to edit the commit message file. |
rlm@11 | 9 # |
rlm@11 | 10 # To enable this hook, rename this file to "applypatch-msg". |
rlm@11 | 11 |
rlm@11 | 12 . git-sh-setup |
rlm@11 | 13 test -x "$GIT_DIR/hooks/commit-msg" && |
rlm@11 | 14 exec "$GIT_DIR/hooks/commit-msg" ${1+"$@"} |
rlm@11 | 15 : |