Skip to content

Commit 1f80828

Browse files
Remove git option to do partial clone (#5482) (#5494)
Signed-off-by: Shinnosuke Sawada-Dazai <[email protected]> Signed-off-by: pipecd-bot <[email protected]> Co-authored-by: Shinnosuke Sawada-Dazai <[email protected]>
1 parent 876bd29 commit 1f80828

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/git/client.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -166,7 +166,7 @@ func (c *client) Clone(ctx context.Context, repoID, remote, branch, destination
166166
return nil, err
167167
}
168168
out, err := retryCommand(3, time.Second, logger, func() ([]byte, error) {
169-
args := []string{"clone", "--mirror", "--filter=blob:none", remote, repoCachePath}
169+
args := []string{"clone", "--mirror", remote, repoCachePath}
170170
args = append(authArgs, args...)
171171
return runGitCommand(ctx, c.gitPath, "", c.envsForRepo(remote), args...)
172172
})

0 commit comments

Comments
 (0)