Files
LearnGO/go/pkg/mod/cache/vcs/afb5aa1453ef4c4026ed190e7067ff517bec9d10684bc3ccf105ac11ec39a874/hooks/pre-merge-commit.sample
T
2024-09-19 21:38:24 -04:00

14 lines
420 B
Bash
Executable File

#!/usr/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"
: