Mercurial > nixos
comparison config/st/.git/hooks/pre-merge-commit.sample @ 0:face7f4d84f7
Initial commit
| author | Yasuri <yasuri@charliesmp.net> |
|---|---|
| date | Mon, 28 Sep 2026 13:10:19 -0500 |
| parents | |
| children |
comparison
equal
deleted
inserted
replaced
| -1:000000000000 | 0:face7f4d84f7 |
|---|---|
| 1 #!/nix/store/svx59425zxp552p2b8gm11qj5r09b56i-bash-5.3p15/bin/bash | |
| 2 # | |
| 3 # An example hook script to verify what is about to be committed. | |
| 4 # Called by "git merge" with no arguments. The hook should | |
| 5 # exit with non-zero status after issuing an appropriate message to | |
| 6 # stderr if it wants to stop the merge commit. | |
| 7 # | |
| 8 # To enable this hook, rename this file to "pre-merge-commit". | |
| 9 | |
| 10 . git-sh-setup | |
| 11 test -x "$GIT_DIR/hooks/pre-commit" && | |
| 12 exec "$GIT_DIR/hooks/pre-commit" | |
| 13 : |
