Removed PythonGit dependency.

This commit is contained in:
Sleepy Monax 2023-06-16 15:52:25 +02:00 committed by Sleepy Monax
parent 3cd6701482
commit e7bf85de6d

View file

@ -219,7 +219,8 @@ def grabExtern(extern: dict[str, Extern]):
continue
print(f"Installing {extSpec}-{ext.tag} from {ext.git}...")
git.Repo.clone_from(ext.git, extPath, branch=ext.tag, depth=1)
shell.popen("git", "clone", "--depth", "1", "--branch",
ext.tag, ext.git, extPath)
if os.path.exists(os.path.join(extPath, "project.json")):
grabExtern(context.loadProject(extPath).extern)