From 6f1bc4dd00c5ed6b3889d78677a9908e04c2f753 Mon Sep 17 00:00:00 2001 From: bryan Date: Tue, 29 Jul 2025 02:01:52 -0400 Subject: [PATCH] SHow more commit info --- openwrtbuilder | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/openwrtbuilder b/openwrtbuilder index 4305919..3eb3ed4 100755 --- a/openwrtbuilder +++ b/openwrtbuilder @@ -543,7 +543,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 + ((DEBUG)) && git --no-pager -C "$BUILD_DIR" log -1 # Enter worktree execute pushd "$BUILD_DIR" || return 1