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