Skip to content

Add Filter to FetchOptions #1108

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

Closed
wants to merge 1 commit into from
Closed

Add Filter to FetchOptions #1108

wants to merge 1 commit into from

Conversation

vzxv
Copy link

@vzxv vzxv commented Jun 6, 2024

Allow a Filter to be specified in FetchOptions.

Positively set the Filter capability when constructing an UploadRequest, and include the Filter when constructing an UploadPackRequest.

@vzxv
Copy link
Author

vzxv commented Jun 6, 2024

I see the comment here that #1000 "does not fully implement the partial clone spec, and follow-up PRs will be needed until this is exposed via FetchOptions/CloneOptions", however setting the filter field is immediately useful in some applications. For example I have an application that only needs to explore commit metadata and trees, so setting blob:none is very useful.

Allow a Filter to be specified in FetchOptions.

Positively set the Filter capability when constructing an UploadRequest,
and include the Filter when constructing an UploadPackRequest.
@pjbgf
Copy link
Member

pjbgf commented Jan 15, 2025

This was superseded by #1375.

@pjbgf pjbgf closed this Jan 15, 2025
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