We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ae57b04 commit 7de657cCopy full SHA for 7de657c
components/content-service/pkg/git/git.go
@@ -266,16 +266,16 @@ func (c *Client) Clone(ctx context.Context) (err error) {
266
267
args := make([]string, 0)
268
args = append(args, c.RemoteURI)
269
+
270
for key, value := range c.Config {
271
args = append(args, "--config")
272
args = append(args, strings.TrimSpace(key)+"="+strings.TrimSpace(value))
273
}
274
275
+ args = append(args, "--filter=blob:none")
276
args = append(args, ".")
- if err := c.Git(ctx, "clone", args...); err != nil {
- return err
- }
277
278
- return nil
+ return c.Git(ctx, "clone", args...)
279
280
281
// Fetch runs git fetch
0 commit comments