Fix checkout version equivalent to a remote HEAD

This commit is contained in:
Bruno Postle
2023-05-28 11:02:46 +01:00
parent 5d583741b9
commit 83e97b7205
+3 -3
View File
@@ -336,9 +336,9 @@ class IfcGit:
for branch in lookup[item.hexsha]:
if branch.name == props.display_branch:
branch.checkout()
else:
# NOTE this is calling the git binary in a subprocess
repo.git.checkout(item.hexsha)
return
# NOTE this is calling the git binary in a subprocess
repo.git.checkout(item.hexsha)
@classmethod
def delete_collection(cls, blender_collection):