diff options
author | AUTOMATIC1111 <16777216c@gmail.com> | 2023-08-13 13:51:21 +0000 |
---|---|---|
committer | AUTOMATIC1111 <16777216c@gmail.com> | 2023-08-13 13:51:21 +0000 |
commit | 3163d1269af7f9fd95382e58bb1581fd741b5119 (patch) | |
tree | 5f4edc9a843012ee14106f8b9c4433565476b7da /modules/launch_utils.py | |
parent | 1c6ca09992fc2c4f7a250670246762a184abace3 (diff) | |
download | stable-diffusion-webui-gfx803-3163d1269af7f9fd95382e58bb1581fd741b5119.tar.gz stable-diffusion-webui-gfx803-3163d1269af7f9fd95382e58bb1581fd741b5119.tar.bz2 stable-diffusion-webui-gfx803-3163d1269af7f9fd95382e58bb1581fd741b5119.zip |
fix for the broken run_git calls
Diffstat (limited to 'modules/launch_utils.py')
-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 e30fbac8..4fc254a2 100644 --- a/modules/launch_utils.py +++ b/modules/launch_utils.py @@ -173,9 +173,9 @@ def git_clone(url, dir, name, commithash=None): if current_hash == commithash:
return
- run_git('fetch', f"Fetching updates for {name}...", f"Couldn't fetch {name}", autofix=False)
+ run_git(dir, name, 'fetch', f"Fetching updates for {name}...", f"Couldn't fetch {name}", autofix=False)
- run_git('checkout', f"Checking out commit for {name} with hash: {commithash}...", f"Couldn't checkout commit {commithash} for {name}", live=True)
+ run_git(dir, name, 'checkout', f"Checking out commit for {name} with hash: {commithash}...", f"Couldn't checkout commit {commithash} for {name}", live=True)
return
|