Hacky way to show latest commit

This commit is contained in:
2025-07-29 00:25:06 -04:00
parent 3a659b4798
commit a18d467c4f

View File

@@ -574,7 +574,8 @@ from_source() {
echo "Current commit hash: $commit"
echo "Git worktree description: $description"
((DEBUG)) && git --no-pager -C "$BUILD_DIR" log -1
((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
# Enter worktree
execute pushd "$BUILD_DIR" || return 1