Mercurial > hg > pmhd
annotate ffmpeg/.git/hooks/applypatch-msg.sample @ 13:844d341cf643 tip
Back up before ISMIR
author | Yading Song <yading.song@eecs.qmul.ac.uk> |
---|---|
date | Thu, 31 Oct 2013 13:17:06 +0000 |
parents | 6840f77b83aa |
children |
rev | line source |
---|---|
yading@10 | 1 #!/bin/sh |
yading@10 | 2 # |
yading@10 | 3 # An example hook script to check the commit log message taken by |
yading@10 | 4 # applypatch from an e-mail message. |
yading@10 | 5 # |
yading@10 | 6 # The hook should exit with non-zero status after issuing an |
yading@10 | 7 # appropriate message if it wants to stop the commit. The hook is |
yading@10 | 8 # allowed to edit the commit message file. |
yading@10 | 9 # |
yading@10 | 10 # To enable this hook, rename this file to "applypatch-msg". |
yading@10 | 11 |
yading@10 | 12 . git-sh-setup |
yading@10 | 13 test -x "$GIT_DIR/hooks/commit-msg" && |
yading@10 | 14 exec "$GIT_DIR/hooks/commit-msg" ${1+"$@"} |
yading@10 | 15 : |