From e42085bbd002d67f31779478f86fe5132979e2fe Mon Sep 17 00:00:00 2001 From: bWFuanVzYWth Date: Thu, 20 Jul 2023 21:33:26 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96=E6=9B=B4=E6=96=B0=E8=84=9A?= =?UTF-8?q?=E6=9C=AC=E7=9A=84=E8=BE=93=E5=87=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- update.bat | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/update.bat b/update.bat index 54ad55d..0126efc 100644 --- a/update.bat +++ b/update.bat @@ -8,7 +8,6 @@ dir>%LOG_PATH% echo ---->>%LOG_PATH% ::test dir -echo %~dp0 cd .. cd .. if not exist "Blueprint" ( @@ -41,7 +40,7 @@ goto end_with_error ) ::test .git/ -%GIT_PATH% rev-parse --is-inside-work-tree>>%LOG_PATH% +%GIT_PATH% rev-parse --resolve-git-dir "%~dp0.git" if %errorlevel% NEQ 0 ( echo 错误:.git/已损坏 echo %date% %time% Error: .git/ is broken>>%LOG_PATH%