Skip to content

Commit a31e673

Browse files
committed
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)