Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Checkout] Configure sparse checkouts before fetch #5103

Conversation

Penguinwizzard
Copy link
Member

This addresses two issues - first, it allows us to avoid fetching files when checking out a clean repo, as if we pre-configure sparse checkouts we won't fetch unneeded trees and blobs. Second, it allows us to avoid not fetching files incorrectly if we're moving a checkout from sparse to non-sparse.

Fixes #5091

This addresses two issues - first, it allows us to avoid fetching files
when checking out a clean repo, as if we pre-configure sparse checkouts
we won't fetch unneeded trees and blobs. Second, it allows us to avoid
not fetching files incorrectly if we're moving a checkout from sparse to
non-sparse.

Fixes microsoft#5091
@Penguinwizzard Penguinwizzard requested review from a team as code owners January 30, 2025 23:44
@merlynomsft merlynomsft added the misc Miscellaneous Changes label Feb 4, 2025
@jnilau jnilau added the bug label Feb 5, 2025
@tarunramsinghani
Copy link
Contributor

/azp run

Copy link

Azure Pipelines could not run because the pipeline triggers exclude this branch/path.

@tarunramsinghani
Copy link
Contributor

Created #5106 from local branch to be able to merge.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug misc Miscellaneous Changes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[BUG]: Sparse-checkout after fetch
4 participants