Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit a31e673

Browse files
committedMay 7, 2024
Fetch only necessary commits for build
1 parent 12c7580 commit a31e673

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed
 

‎cmd/bashbrew/git.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -280,6 +280,7 @@ func (r Repo) fetchGitRepo(arch string, entry *manifest.Manifest2822Entry) (stri
280280
err := gitRemote.Fetch(&goGit.FetchOptions{
281281
RefSpecs: []goGitConfig.RefSpec{goGitConfig.RefSpec(fetchString)},
282282
Tags: goGit.NoTags,
283+
Depth: 1,
283284

284285
//Progress: os.Stdout,
285286
})

0 commit comments

Comments
 (0)
Please sign in to comment.