Files
LearnGO/go/pkg/mod/cache/vcs/66b7b8c8db23c7a1b9c9af7851e72756a6640719105c0bd2589409670e18bb52/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"
: