Nowarn for fresh installation (git apply whitespace)

This commit is contained in:
cmdr2 2022-11-21 17:19:55 +05:30
parent eef9af2266
commit 3bf5e11f94
2 changed files with 4 additions and 4 deletions

View File

@ -55,8 +55,8 @@ if exist "Open Developer Console.cmd" del "Open Developer Console.cmd"
@cd stable-diffusion @cd stable-diffusion
@call git -c advice.detachedHead=false checkout f6cfebffa752ee11a7b07497b8529d5971de916c @call git -c advice.detachedHead=false checkout f6cfebffa752ee11a7b07497b8529d5971de916c
@call git apply --whitespace=fix ..\ui\sd_internal\ddim_callback.patch @call git apply --whitespace=nowarn ..\ui\sd_internal\ddim_callback.patch
@call git apply --whitespace=fix ..\ui\sd_internal\env_yaml.patch @call git apply --whitespace=nowarn ..\ui\sd_internal\env_yaml.patch
@cd .. @cd ..
) )

View File

@ -46,8 +46,8 @@ else
cd stable-diffusion cd stable-diffusion
git -c advice.detachedHead=false checkout f6cfebffa752ee11a7b07497b8529d5971de916c git -c advice.detachedHead=false checkout f6cfebffa752ee11a7b07497b8529d5971de916c
git apply --whitespace=fix ../ui/sd_internal/ddim_callback.patch || fail "ddim patch failed" git apply --whitespace=nowarn ../ui/sd_internal/ddim_callback.patch || fail "ddim patch failed"
git apply --whitespace=fix ../ui/sd_internal/env_yaml.patch || fail "yaml patch failed" git apply --whitespace=nowarn ../ui/sd_internal/env_yaml.patch || fail "yaml patch failed"
cd .. cd ..
fi fi