aboutsummaryrefslogtreecommitdiffstats
path: root/modules/launch_utils.py
diff options
context:
space:
mode:
authorw-e-w <40751091+w-e-w@users.noreply.github.com>2023-06-14 19:23:52 +0000
committerw-e-w <40751091+w-e-w@users.noreply.github.com>2023-06-14 19:23:52 +0000
commit376f793bded0e7df40eafcacfd086e4e4d218bc5 (patch)
tree6e5404d4c72153d12f7f7295021b11ae880db8fb /modules/launch_utils.py
parent59419bd64a1581caccaac04dceb66c1c069a2db1 (diff)
downloadstable-diffusion-webui-gfx803-376f793bded0e7df40eafcacfd086e4e4d218bc5.tar.gz
stable-diffusion-webui-gfx803-376f793bded0e7df40eafcacfd086e4e4d218bc5.tar.bz2
stable-diffusion-webui-gfx803-376f793bded0e7df40eafcacfd086e4e4d218bc5.zip
git clone show progress
Diffstat (limited to 'modules/launch_utils.py')
-rw-r--r--modules/launch_utils.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/launch_utils.py b/modules/launch_utils.py
index 609a181e..97539e68 100644
--- a/modules/launch_utils.py
+++ b/modules/launch_utils.py
@@ -147,10 +147,10 @@ def git_clone(url, dir, name, commithash=None):
return
run(f'"{git}" -C "{dir}" fetch', f"Fetching updates for {name}...", f"Couldn't fetch {name}")
- run(f'"{git}" -C "{dir}" checkout {commithash}', f"Checking out commit for {name} with hash: {commithash}...", f"Couldn't checkout commit {commithash} for {name}")
+ run(f'"{git}" -C "{dir}" checkout {commithash}', f"Checking out commit for {name} with hash: {commithash}...", f"Couldn't checkout commit {commithash} for {name}", live=True)
return
- run(f'"{git}" clone "{url}" "{dir}"', f"Cloning {name} into {dir}...", f"Couldn't clone {name}")
+ run(f'"{git}" clone "{url}" "{dir}"', f"Cloning {name} into {dir}...", f"Couldn't clone {name}", live=True)
if commithash is not None:
run(f'"{git}" -C "{dir}" checkout {commithash}', None, "Couldn't checkout {name}'s hash: {commithash}")