Skip to content

Add Sparse struct to Checkout for sparse checkout support#79

Open
stephanieatte wants to merge 3 commits into
mainfrom
SUP-6150/add-sparse-to-checkout
Open

Add Sparse struct to Checkout for sparse checkout support#79
stephanieatte wants to merge 3 commits into
mainfrom
SUP-6150/add-sparse-to-checkout

Conversation

@stephanieatte
Copy link
Copy Markdown

@stephanieatte stephanieatte commented May 19, 2026

This PR adds Sparse struct to Checkout for sparse checkout support

Changes

  • Adds Sparse *Sparse field to Checkout with a new Sparse struct (Paths []string, MarshalJSON, UnmarshalOrdered)
  • Adds unit tests for YAML/JSON marshal/unmarshal and round-trip

@stephanieatte stephanieatte changed the title [SUP -6150]: Add Sparse struct to Checkout for sparse checkout support Add Sparse struct to Checkout for sparse checkout support May 19, 2026
@stephanieatte stephanieatte marked this pull request as ready for review May 19, 2026 22:25
@omehegan
Copy link
Copy Markdown

This code looks fine, but we're going to have some merge conflicts with all the different Checkout PRs open. I want us to get #73 merged first, because that expands the scope of the Checkout model significantly. Then rebase this PR before final review and merge.

Base automatically changed from feat/git-checkout-features to main May 26, 2026 08:11
Copy link
Copy Markdown

@omehegan omehegan left a comment

Choose a reason for hiding this comment

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

This is good to merge once you address the current conflicts with main.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants