AddOn: manager, clone repos default branch instead of the master

This commit is contained in:
Bernd Hahnebach
2020-11-10 07:18:23 +01:00
committed by Yorik van Havre
parent a8aeb0ce78
commit 837cfa8f75

View File

@@ -768,7 +768,7 @@ class InstallWorker(QtCore.QThread):
str(self.repos[idx][0]) + "\n")
if have_git:
self.info_label.emit("Cloning module...")
repo = git.Repo.clone_from(self.repos[idx][1], clonedir, branch="master")
repo = git.Repo.clone_from(self.repos[idx][1], clonedir)
# Make sure to clone all the submodules as well
if repo.submodules: