mirror of
https://github.com/sd-webui/stable-diffusion-webui.git
synced 2024-12-14 23:02:00 +03:00
Added case insensitivity to restore prompt (#1152)
This commit is contained in:
parent
b7d6329dc1
commit
b4de6caf69
@ -37,12 +37,12 @@ echo Stashing local changes and pulling latest update...
|
||||
call git stash
|
||||
call git pull
|
||||
set /P restore="Do you want to restore changes you made before updating? (Y/N): "
|
||||
IF "%restore%" == "N" (
|
||||
IF /I "%restore%" == "N" (
|
||||
echo Removing changes please wait...
|
||||
call git stash drop
|
||||
echo Changes removed, press any key to continue...
|
||||
pause >nul
|
||||
) ELSE IF "%restore%" == "Y" (
|
||||
) ELSE IF /I "%restore%" == "Y" (
|
||||
echo Restoring changes, please wait...
|
||||
call git stash pop --quiet
|
||||
echo Changes restored, press any key to continue...
|
||||
|
Loading…
Reference in New Issue
Block a user