figuring out which part of the pre-commit hook causes the hook to hang
All checks were successful
Autotagger / Autotagger (push) Successful in 5s
Build / Export Files (push) Successful in 7s
Build / Documentation (push) Successful in 18s

This commit is contained in:
SeaswimmerTheFsh 2024-03-24 04:04:36 -04:00
parent fea00637e9
commit 5624a1dc9d

View file

@ -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"