Pārlūkot izejas kodu

Debug commit print

bryan 3 dienas atpakaļ
vecāks
revīzija
40ce9940ae
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  1. 1 1
      openwrtbuilder

+ 1 - 1
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