diff options
author | RedDeltas <160131179+RedDeltas@users.noreply.github.com> | 2024-02-15 12:26:14 +0000 |
---|---|---|
committer | RedDeltas <160131179+RedDeltas@users.noreply.github.com> | 2024-02-15 12:26:14 +0000 |
commit | 18ec22bffea77158777c3a3225e632e25eb33138 (patch) | |
tree | 3208313956c6f1b076fbb2998c9b522ceefd305f /modules | |
parent | b7f45e67dcf48914d2f34d4ace977a431a5aa12e (diff) | |
download | stable-diffusion-webui-gfx803-18ec22bffea77158777c3a3225e632e25eb33138.tar.gz stable-diffusion-webui-gfx803-18ec22bffea77158777c3a3225e632e25eb33138.tar.bz2 stable-diffusion-webui-gfx803-18ec22bffea77158777c3a3225e632e25eb33138.zip |
Added core.filemode=false so doesn't track changes in file permissions in more restrictive environments
Diffstat (limited to 'modules')
-rw-r--r-- | modules/launch_utils.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/launch_utils.py b/modules/launch_utils.py index 107c72b0..ad04eb36 100644 --- a/modules/launch_utils.py +++ b/modules/launch_utils.py @@ -188,7 +188,7 @@ def git_clone(url, dir, name, commithash=None): return
try:
- run(f'"{git}" clone "{url}" "{dir}"', f"Cloning {name} into {dir}...", f"Couldn't clone {name}", live=True)
+ run(f'"{git}" clone --config core.filemode=false "{url}" "{dir}"', f"Cloning {name} into {dir}...", f"Couldn't clone {name}", live=True)
except RuntimeError:
shutil.rmtree(dir, ignore_errors=True)
raise
|