From 40ce9940aec01c7b35ba9981b0428a6255d1acac Mon Sep 17 00:00:00 2001 From: bryan Date: Tue, 29 Jul 2025 01:15:10 -0400 Subject: [PATCH] Debug commit print --- openwrtbuilder | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/openwrtbuilder b/openwrtbuilder index c3ca400..60380c6 100755 --- a/openwrtbuilder +++ b/openwrtbuilder @@ -583,7 +583,7 @@ from_source() { echo "Current commit hash: $commit" echo "Git worktree description: $description" - ((DEBUG)) && git --no-pager -C "$BUILD_DIR" log --all --pretty=format:"%ai %H" | sort -r | head -n1 | awk '{print $NF}' | xargs git show --no-patch + ((DEBUG)) && git --no-pager -C "$BUILD_DIR" log --all --pretty=format:"%ai %H" | sort -r | head -n1 # Enter worktree execute pushd "$BUILD_DIR" || return 1