Fetch only necessary commits for build

This commit is contained in:
Mikhail f. Shiryaev 2024-05-07 10:13:59 +02:00
parent 12c758028e
commit a31e67347a
No known key found for this signature in database
GPG Key ID: 4B02ED204C7D93F4
1 changed files with 1 additions and 0 deletions

View File

@ -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,
})