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" (