-
Notifications
You must be signed in to change notification settings - Fork 120
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
Add sparse checkout support #772
Conversation
cc @tmat |
How does GetUntrackedFiles work here if a tree is missing because of sparse checkout? |
To be honest, I didn't know that feature existed. If I understand how GetUntrackedFiles works, it might be a requirement for source link to clone But for the files that are not gitingored it should work fine, the index is still there. What do you think is the best course of action here? |
Thanks for the PR. I'll need to find time to study the implications of this change before I can review. |
10 months passed, will this MR merge? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sorry for the delay.
@tmat The github checkout action now supports partial checkout filters (actions/checkout#1396) and since this was merged can a new sourcelink package please be published to nuget to avoid breaking builds enabling partial checkout with:
🙏 |
Fixes: #771
Reads but does not interpret any of V1 extensions. The only one of interest is the
worktreeConfig
which I didn't implement becauseconfig.worktree
didn't seem to contain any information of interest.Sample sparse repo config: