diff options
author | AUTOMATIC1111 <16777216c@gmail.com> | 2023-06-27 06:01:04 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-06-27 06:01:04 +0000 |
commit | 2c43dd766da52d2ccaaa78d8f265a6a4aa33b9df (patch) | |
tree | 4887f578667a0b2af4cdf9de16503ba006e03a5b | |
parent | 9bb1fcfad43103778406ace17e6804c67fad9c17 (diff) | |
parent | 376f793bded0e7df40eafcacfd086e4e4d218bc5 (diff) | |
download | stable-diffusion-webui-gfx803-2c43dd766da52d2ccaaa78d8f265a6a4aa33b9df.tar.gz stable-diffusion-webui-gfx803-2c43dd766da52d2ccaaa78d8f265a6a4aa33b9df.tar.bz2 stable-diffusion-webui-gfx803-2c43dd766da52d2ccaaa78d8f265a6a4aa33b9df.zip |
Merge pull request #11226 from AUTOMATIC1111/git-clone-progress
show Git clone progress
-rw-r--r-- | modules/launch_utils.py | 4 |
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}")
|