mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-09-20 15:08:51 +00:00
Fix checkout version equivalent to a remote HEAD
This commit is contained in:
@@ -336,9 +336,9 @@ class IfcGit:
|
|||||||
for branch in lookup[item.hexsha]:
|
for branch in lookup[item.hexsha]:
|
||||||
if branch.name == props.display_branch:
|
if branch.name == props.display_branch:
|
||||||
branch.checkout()
|
branch.checkout()
|
||||||
else:
|
return
|
||||||
# NOTE this is calling the git binary in a subprocess
|
# NOTE this is calling the git binary in a subprocess
|
||||||
repo.git.checkout(item.hexsha)
|
repo.git.checkout(item.hexsha)
|
||||||
|
|
||||||
@classmethod
|
@classmethod
|
||||||
def delete_collection(cls, blender_collection):
|
def delete_collection(cls, blender_collection):
|
||||||
|
|||||||
Reference in New Issue
Block a user