fix can't get current hash

This commit is contained in:
Akiba 2023-06-29 18:46:52 +08:00
parent fab73f2e7d
commit 0416a7bfba
No known key found for this signature in database
GPG Key ID: 9D600258808ACBCD
1 changed files with 1 additions and 1 deletions

View File

@ -142,7 +142,7 @@ def git_clone(url, dir, name, commithash=None):
if commithash is None: if commithash is None:
return return
current_hash = run(f'"{git}" -C "{dir}" rev-parse HEAD', None, f"Couldn't determine {name}'s hash: {commithash}").strip() current_hash = run(f'"{git}" -C "{dir}" rev-parse HEAD', None, f"Couldn't determine {name}'s hash: {commithash}", live=False).strip()
if current_hash == commithash: if current_hash == commithash:
return return