aboutsummaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
authorAUTOMATIC1111 <16777216c@gmail.com>2023-08-13 16:51:21 +0300
committerAUTOMATIC1111 <16777216c@gmail.com>2023-08-13 16:51:21 +0300
commit3163d1269af7f9fd95382e58bb1581fd741b5119 (patch)
tree5f4edc9a843012ee14106f8b9c4433565476b7da /modules
parent1c6ca09992fc2c4f7a250670246762a184abace3 (diff)
fix for the broken run_git calls
Diffstat (limited to 'modules')
-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 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