annotate glang-galaxy-conf/.git/hooks/pre-applypatch.sample @ 2:8947fca5f715 draft default tip

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