aboutsummaryrefslogtreecommitdiff
path: root/apps/servers/octopus/supergit/test-repo/hooks/pre-merge-commit.sample
blob: 7226da457150fe9b8d9a8322f637a3d1df937a46 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
#!/nix/store/k8p54jg8ipvnfz435mayf5bnqhw4qqap-bash-4.4-p23/bin/bash
#
# 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"
: