Mercurial > nixos
diff config/dwm/.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 |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/config/dwm/.git/hooks/pre-merge-commit.sample Mon Sep 28 13:10:19 2026 -0500 @@ -0,0 +1,13 @@ +#!/nix/store/svx59425zxp552p2b8gm11qj5r09b56i-bash-5.3p15/bin/bash +# +# 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" +:
