Kaynağa Gözat

SHow more commit info

bryan 1 gün önce
ebeveyn
işleme
6f1bc4dd00
1 değiştirilmiş dosya ile 1 ekleme ve 1 silme
  1. 1 1
      openwrtbuilder

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