From 5a2155ca2daf7a53bb060689b5155492031fb20b Mon Sep 17 00:00:00 2001 From: Phillip Davis Date: Fri, 2 Oct 2026 18:12:27 +0930 Subject: [PATCH] fix: spelling of remainign PARENT_COMMIT_HASH uses Signed-off-by: Phillip Davis --- hooks/post-commit | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/hooks/post-commit b/hooks/post-commit index 3022f5b..1229f12 100755 --- a/hooks/post-commit +++ b/hooks/post-commit @@ -172,9 +172,9 @@ for ((i=0;; i++)); do TREE_HASH=$(git write-tree) declare PREIMAGE - get_preimage_from_tree_and_parent "$TREE_HASH" "$PEARENT_COMMIT_HASH" PREIMAGE + get_preimage_from_tree_and_parent "$TREE_HASH" "$PARENT_COMMIT_HASH" PREIMAGE declare NEW_DIGEST_TO_TIMESTAMP - compute_digest_from_tree_and_parent "$TREE_HASH" "$PEARENT_COMMIT_HASH" NEW_DIGEST_TO_TIMESTAMP + compute_digest_from_tree_and_parent "$TREE_HASH" "$PARENT_COMMIT_HASH" NEW_DIGEST_TO_TIMESTAMP if [ "$NEW_DIGEST_TO_TIMESTAMP" == "$DIGEST_TO_TIMESTAMP" ];then #no new LTV data added, no need to re-request token. break