diff --git a/scripts/hooks/pre-commit b/scripts/hooks/pre-commit index a557dbb..38f498d 100755 --- a/scripts/hooks/pre-commit +++ b/scripts/hooks/pre-commit @@ -1,6 +1,5 @@ #!/bin/sh -set -x echo "pre-commit: Refreshing packwiz" cd src packwiz refresh @@ -8,5 +7,5 @@ echo "pre-commit: Adding changes to git" git add . echo "pre-commit: Amending commit with refreshed files" PREV_COMMIT=$(git rev-parse HEAD) -git commit --no-edit --reuse-message="$PREV_COMMIT" +git commit --no-edit --no-verify --reuse-message="$PREV_COMMIT" echo "pre-commit: Done"