#239 unset root.VCS.TagSyncDefault so non-master default branch checkouts work in git

This commit is contained in:
Shawn Smith
2018-01-26 07:47:56 +09:00
parent 9e7b523c43
commit d16ec21ff2

View File

@@ -63,6 +63,7 @@ func download(path, dest string, firstAttempt bool) (root *vcs.RepoRoot, err err
if root.VCS.Name == "Git" {
root.VCS.CreateCmd = "clone --depth 1 {repo} {dir}"
root.VCS.TagSyncDefault = ""
}
var rootRepo = root.Repo
u, err := url.Parse(root.Repo)