fix 2 for git code botched by previous PRs

This commit is contained in:
AUTOMATIC1111 2023-08-13 20:15:20 +03:00
parent f093c9d39d
commit 16781ba09a

View File

@ -175,7 +175,7 @@ def git_clone(url, dir, name, commithash=None):
run_git(dir, name, 'fetch', f"Fetching updates for {name}...", f"Couldn't fetch {name}", autofix=False)
run_git(dir, name, 'checkout', f"Checking out commit for {name} with hash: {commithash}...", f"Couldn't checkout commit {commithash} for {name}", live=True)
run_git(dir, name, f'checkout {commithash}', f"Checking out commit for {name} with hash: {commithash}...", f"Couldn't checkout commit {commithash} for {name}", live=True)
return