Skip to content

Commit

Permalink
Update pre-merge-commit with correct pre-commit path
Browse files Browse the repository at this point in the history
  • Loading branch information
darksidemilk authored Aug 8, 2024
1 parent c7cc33d commit 9c8b343
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .githooks/pre-merge-commit
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@
# stderr if it wants to stop the merge commit.
#
# To enable this hook, rename this file to "pre-merge-commit".
# this was taken verbatim from the example hook
# this was taken from the example hook and adapted to run the custom hook

. git-sh-setup
test -x "$GIT_DIR/hooks/pre-commit" &&
exec "$GIT_DIR/hooks/pre-commit"
test -x "$GIT_WORK_TREE/.githooks/pre-commit" &&
exec "$GIT_WORK_TREE/.githooks/pre-commit"
:

0 comments on commit 9c8b343

Please sign in to comment.