Mercurial > hg > pmhd
annotate ffmpeg/.git/hooks/pre-applypatch.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 verify what is about to be committed |
yading@10 | 4 # by 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. |
yading@10 | 8 # |
yading@10 | 9 # To enable this hook, rename this file to "pre-applypatch". |
yading@10 | 10 |
yading@10 | 11 . git-sh-setup |
yading@10 | 12 test -x "$GIT_DIR/hooks/pre-commit" && |
yading@10 | 13 exec "$GIT_DIR/hooks/pre-commit" ${1+"$@"} |
yading@10 | 14 : |