Skip to content

Commit

Permalink
AddOn: manager, clone repos default branch instead of the master
Browse files Browse the repository at this point in the history
  • Loading branch information
berndhahnebach authored and yorikvanhavre committed Nov 12, 2020
1 parent cdc8b3c commit 4756686
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Mod/AddonManager/addonmanager_workers.py
Expand Up @@ -768,7 +768,7 @@ def run(self):
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:
Expand Down

0 comments on commit 4756686

Please sign in to comment.