Browse Source

Don't pause on commit hash

bryan 6 days ago
parent
commit
60c73cac78
1 changed files with 1 additions and 7 deletions
  1. 1 7
      openwrtbuilder

+ 1 - 7
openwrtbuilder

@@ -508,13 +508,7 @@ from_source() {
   echo "Current commit hash: $commit"
   echo "Git worktree description: $description"
   
-  if ((DEBUG)); then
-    if ((YES)); then
-      git --no-pager -C "$GITWORKTREEDIR" log -1
-    else
-      git -C "$GITWORKTREEDIR" log -1
-    fi
-  fi
+  ((DEBUG)) && git --no-pager -C "$GITWORKTREEDIR" log -1
 
   # Enter worktree
   execute pushd "$GITWORKTREEDIR" || return 1