Don't warn about whitespace in the git patch application

This commit is contained in:
cmdr2 2022-11-21 17:11:38 +05:30
parent c3bf767024
commit 8316a002da
2 changed files with 4 additions and 4 deletions

View File

@ -37,8 +37,8 @@ if exist "Open Developer Console.cmd" del "Open Developer Console.cmd"
@call git pull @call git pull
@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 ..
) else ( ) else (

View File

@ -30,8 +30,8 @@ if [ -e "scripts/install_status.txt" ] && [ `grep -c sd_git_cloned scripts/insta
git pull git pull
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 ..
else else