annotate BSseeker2/.git/hooks/pre-applypatch.sample @ 1:8b26adf64adc draft default tip

V2.0.5
author weilong-guo
date Tue, 05 Nov 2013 01:55:39 -0500
parents
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
1
weilong-guo
parents:
diff changeset
1 #!/bin/sh
weilong-guo
parents:
diff changeset
2 #
weilong-guo
parents:
diff changeset
3 # An example hook script to verify what is about to be committed
weilong-guo
parents:
diff changeset
4 # by applypatch from an e-mail message.
weilong-guo
parents:
diff changeset
5 #
weilong-guo
parents:
diff changeset
6 # The hook should exit with non-zero status after issuing an
weilong-guo
parents:
diff changeset
7 # appropriate message if it wants to stop the commit.
weilong-guo
parents:
diff changeset
8 #
weilong-guo
parents:
diff changeset
9 # To enable this hook, rename this file to "pre-applypatch".
weilong-guo
parents:
diff changeset
10
weilong-guo
parents:
diff changeset
11 . git-sh-setup
weilong-guo
parents:
diff changeset
12 test -x "$GIT_DIR/hooks/pre-commit" &&
weilong-guo
parents:
diff changeset
13 exec "$GIT_DIR/hooks/pre-commit" ${1+"$@"}
weilong-guo
parents:
diff changeset
14 :