From 5eb53e7fa46fe192be757af6d5d67b651b545535 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dominik=20Madar=C3=A1sz?= Date: Sat, 31 Aug 2024 09:14:26 +0200 Subject: [PATCH] scr --- MAKE.bat | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/MAKE.bat b/MAKE.bat index c659639..e397d1c 100644 --- a/MAKE.bat +++ b/MAKE.bat @@ -198,19 +198,19 @@ if "%1"=="dstat" ( if "%1"=="dpush" ( pushd depot - git add . + git add . > NUL 2>&1 if "%2"=="auto" ( - git commit -m "asset update" - git push + git commit -m "asset update" > NUL 2>&1 + git push > NUL 2>&1 ) else ( - git commit + git commit > NUL 2>&1 git diff --quiet --exit-code --cached if !ERRORLEVEL! neq 0 ( echo Commit was cancelled or failed exit /b %ERRORLEVEL% ) if not "%2"=="local" ( - git push + git push > NUL 2>&1 ) ) popd @@ -263,14 +263,14 @@ if "%1"=="push" ( @REM sync depot git stash > NUL 2>&1 - git add depot - git commit -m "sync depot" + git add depot > NUL 2>&1 + git commit -m "sync depot" > NUL 2>&1 git stash pop > NUL 2>&1 @REM sync website git stash > NUL 2>&1 - git add website - git commit -m "sync website" + git add website > NUL 2>&1 + git commit -m "sync website" > NUL 2>&1 git stash pop > NUL 2>&1 if not "%2"=="local" (