Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
The git-library doesn't support cloning repositories that use 'main' as default branch: go-git/go-git#363 We therefore try 'main', 'master' and 'trunk'. Until now we tried 'master' first, but since the Toit registry already uses 'main' that leads to an unnecessary clone-attempt. It also allows a race condition where another toit.pkg command could try to pull the 'master' branch.
- Loading branch information