mirror of
https://github.com/gojp/goreportcard.git
synced 2026-01-28 22:39:05 +08:00
#239 unset root.VCS.TagSyncDefault so non-master default branch checkouts work in git
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user