From 685b542d1772f9a0cf5edfd84d0cb831e9754760 Mon Sep 17 00:00:00 2001 From: Rando717 Date: Wed, 17 Sep 2025 23:51:38 +0200 Subject: [PATCH] Update comfyui.bat (git) - removed pause on git check, so batch can continue on error - expanded error message with Git url --- comfyui.bat | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/comfyui.bat b/comfyui.bat index d9fa36209..4f7544f5f 100644 --- a/comfyui.bat +++ b/comfyui.bat @@ -11,14 +11,14 @@ set "ZLUDA_COMGR_LOG_LEVEL=1" :: Check Git version and installed commit hash where git >NUL 2>&1 if errorlevel 1 ( - echo [FAIL] Git not found in PATH. Please install Git. - pause + echo [FAIL] Git is not installed or not found in the system PATH. + echo Please install Git from https://git-scm.com and ensure it's added to your PATH during installation. ) else ( - for /f "tokens=3*" %%v in ('git --version') do ( - echo [INFO] Detected Git version: %%v %%w + for /f "tokens=2,*" %%a in ('git --version') do ( + echo [INFO] Detected Git version: %%b ) - for /f %%h in ('git rev-parse --short HEAD') do ( - echo [INFO] Current ComfyUI-ZLUDA commit hash: %%h + for /f "usebackq delims=" %%h in (`git rev-parse --short HEAD`) do ( + echo [INFO] Current ComfyUI-Zluda commit hash: %%h ) )