Welcome to mirror list, hosted at ThFree Co, Russian Federation.

hooks--pre-merge-commit.sample « templates - git.kernel.org/pub/scm/git/git.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 399eab1924e39da570b389b0bef1ca713b3b05c3 (plain)
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"
: