fix for the broken run_git calls

This commit is contained in:
AUTOMATIC1111 2023-08-13 16:51:21 +03:00
parent 1c6ca09992
commit 3163d1269a
1 changed files with 2 additions and 2 deletions

View File

@ -173,9 +173,9 @@ def git_clone(url, dir, name, commithash=None):
if current_hash == commithash: if current_hash == commithash:
return 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 return