no pager on git log and pull

to prevent stops when output is long
This commit is contained in:
Rando717 2025-10-04 07:51:34 +02:00 committed by GitHub
parent c3a59c8e40
commit 7ac280ae3f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -88,10 +88,10 @@ for /f "delims=" %%R in ('git rev-parse @{u}') do set REMOTE=%%R
if NOT "%LOCAL%"=="%REMOTE%" (
echo.
echo [INFO] Update available. New commits:
git log --oneline %LOCAL%..%REMOTE%
git --no-pager log --oneline %LOCAL%..%REMOTE%
echo.
echo [INFO] Pulling updates...
git pull
git --no-pager pull
) else (
echo [INFO] Already up to date.
)