updated git hook
All checks were successful
Autotagger / Autotagger (push) Successful in 5s
Build / Export Files (push) Successful in 6s
Build / Documentation (push) Successful in 19s

This commit is contained in:
SeaswimmerTheFsh 2024-03-24 04:24:10 -04:00
parent 5624a1dc9d
commit 5f8bc701be
Signed by: cswimr
GPG key ID: B8953EC01E5C4063

View file

@ -6,6 +6,7 @@ packwiz refresh
echo "pre-commit: Adding changes to git" echo "pre-commit: Adding changes to git"
git add . git add .
echo "pre-commit: Amending commit with refreshed files" echo "pre-commit: Amending commit with refreshed files"
PREV_COMMIT=$(git rev-parse HEAD) PREV_COMMIT=$(git log -1 --pretty=%B)
git commit --no-edit --no-verify --reuse-message="$PREV_COMMIT" git commit --amend --no-edit --no-verify --reuse-message="$PREV_COMMIT"
echo "pre-commit: Done" echo "pre-commit: Done"
exit 0