Closed davisagli closed 21 hours ago
@sneridagh I'm not sure how to test this, but it should make a clone fetch less data until it is actually checked out. See https://github.blog/open-source/git/get-up-to-speed-with-partial-clone-and-shallow-clone/ for more info.
@davisagli I made some tests: shallow: 66MB partial: 84MB
all go "quick". I will amend my PR to use your approach. We have tests and the option to opt-in to the feature.
Closing in favor of #42
@sneridagh I'm not sure how to test this, but it should make a clone fetch less data until it is actually checked out. See https://github.blog/open-source/git/get-up-to-speed-with-partial-clone-and-shallow-clone/ for more info.