about summary refs log blame commit diff
path: root/templates/hooks--pre-merge-commit.sample
blob: 399eab1924e39da570b389b0bef1ca713b3b05c3 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12
13












                                                                   
#!/bin/sh
#
# An example hook script to verify what is about to be committed.
# Called by "git merge" with no arguments.  The hook should
# exit with non-zero status after issuing an appropriate message to
# stderr if it wants to stop the merge commit.
#
# To enable this hook, rename this file to "pre-merge-commit".

. git-sh-setup
test -x "$GIT_DIR/hooks/pre-commit" &&
        exec "$GIT_DIR/hooks/pre-commit"
: