Mercurial > hg > Gears > GearsAgda
view .git/hooks/pre-merge-commit.sample @ 900:2fea300378ca
...
author | Shinji KONO <kono@ie.u-ryukyu.ac.jp> |
---|---|
date | Thu, 30 May 2024 18:15:36 +0900 |
parents | 68904fdaab71 |
children |
line wrap: on
line source
#!/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" :