We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents f091d66 + 748a757 commit 54e0b6eCopy full SHA for 54e0b6e
1 file changed
pkg/git/fetch.go
@@ -39,6 +39,7 @@ func (f Fetcher) Fetch(dir, gitURL, gitRevision, metadataDir string) error {
39
}
40
41
err = remote.Fetch(&gogit.FetchOptions{
42
+ Depth: 1,
43
RefSpecs: []config.RefSpec{"refs/*:refs/*"},
44
Auth: auth,
45
})
0 commit comments