aboutsummaryrefslogtreecommitdiffstats
path: root/webui.sh
diff options
context:
space:
mode:
authorAUTOMATIC1111 <16777216c@gmail.com>2023-09-30 06:21:08 +0000
committerGitHub <noreply@github.com>2023-09-30 06:21:08 +0000
commitdf48222f3ea08c00589da38a688d2e9f43641bd3 (patch)
treefebdd2ed5249afd78da8ba8d350bbf725905694f /webui.sh
parentee8e98711ba658f61b12288dd801f10ae937f604 (diff)
parent0ad38a9b87b7781315ea6324a8aa6c924d1275de (diff)
downloadstable-diffusion-webui-gfx803-df48222f3ea08c00589da38a688d2e9f43641bd3.tar.gz
stable-diffusion-webui-gfx803-df48222f3ea08c00589da38a688d2e9f43641bd3.tar.bz2
stable-diffusion-webui-gfx803-df48222f3ea08c00589da38a688d2e9f43641bd3.zip
Merge pull request #13231 from der3318/better-support-for-portable-git
Better Support for Portable Git
Diffstat (limited to 'webui.sh')
-rwxr-xr-xwebui.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/webui.sh b/webui.sh
index 29a6d311..6652af97 100755
--- a/webui.sh
+++ b/webui.sh
@@ -51,6 +51,8 @@ fi
if [[ -z "${GIT}" ]]
then
export GIT="git"
+else
+ export GIT_PYTHON_GIT_EXECUTABLE="${GIT}"
fi
# python3 venv without trailing slash (defaults to ${install_dir}/${clone_dir}/venv)