Skip to content

Conversation

@weyfonk
Copy link
Contributor

@weyfonk weyfonk commented Dec 10, 2024

This should speed up git cloning.
A follow-up to this could implement filtering by path once this go-git PR is merged upstream.

This should speed up git cloning.
@weyfonk weyfonk requested a review from a team as a code owner December 10, 2024 16:15
@kkaempf kkaempf added this to the v2.10.2 milestone Dec 11, 2024
@manno manno modified the milestones: v2.10.2, v2.11.0 Dec 11, 2024
CABundle: caBundle,
SingleBranch: true,
ReferenceName: plumbing.ReferenceName(opts.Branch),
Depth: 1,
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

As discussed, it's unclear if this works with sub module cloning.

Copy link
Member

@manno manno left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We need to investigate submodules

@manno
Copy link
Member

manno commented Jan 15, 2025

Reminds me of sparse checkouts, which could also be interesting to reduce cloning time and bandwidth.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants