From d6492cd3cf0a27506bf10a5c762e0bb988c169f2 Mon Sep 17 00:00:00 2001 From: SeaswimmerTheFsh Date: Sun, 24 Mar 2024 04:24:59 -0400 Subject: [PATCH] adding a debug echo to the pre-commit hook --- scripts/hooks/pre-commit | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/scripts/hooks/pre-commit b/scripts/hooks/pre-commit index f0bcb17..42d136e 100755 --- a/scripts/hooks/pre-commit +++ b/scripts/hooks/pre-commit @@ -6,7 +6,6 @@ packwiz refresh echo "pre-commit: Adding changes to git" git add . echo "pre-commit: Amending commit with refreshed files" -PREV_COMMIT=$(git log -1 --pretty=%B) -git commit --amend --no-edit --no-verify --reuse-message="$PREV_COMMIT" +git commit --amend --no-edit --no-verify echo "pre-commit: Done" exit 0