KEMBAR78
Add Filter to FetchOptions by vzxv · Pull Request #1108 · go-git/go-git · GitHub
Skip to content

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