From f80f9ccd08a373e48a9fe8fcf14bab36b25f346e Mon Sep 17 00:00:00 2001 From: bryan Date: Fri, 11 Jul 2025 19:52:38 -0400 Subject: [PATCH] Add testing debug output --- installJRMC | 3 +++ 1 file changed, 3 insertions(+) diff --git a/installJRMC b/installJRMC index b3e9ec5..4105f0d 100755 --- a/installJRMC +++ b/installJRMC @@ -1730,6 +1730,9 @@ update() { # Restore local changes execute git -C "$SCRIPT_DIR" stash pop --quiet + debug "Current commit hash: $before_pull_hash" + debug "New commit hash: $(git -C "$SCRIPT_DIR" rev-parse HEAD)" + # If the commit hash has changed, an update occurred if [[ "$before_pull_hash" != $(git -C "$SCRIPT_DIR" rev-parse HEAD) ]]; then echo "Detected installJRMC update, restarting"