Fetch only necessary commits for build
This commit is contained in:
parent
12c758028e
commit
a31e67347a
|
|
@ -280,6 +280,7 @@ func (r Repo) fetchGitRepo(arch string, entry *manifest.Manifest2822Entry) (stri
|
|||
err := gitRemote.Fetch(&goGit.FetchOptions{
|
||||
RefSpecs: []goGitConfig.RefSpec{goGitConfig.RefSpec(fetchString)},
|
||||
Tags: goGit.NoTags,
|
||||
Depth: 1,
|
||||
|
||||
//Progress: os.Stdout,
|
||||
})
|
||||
|
|
|
|||
Loading…
Reference in New Issue