Skip to content

Add TreeUpdateBuilder to support git_tree_create_updated #648

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

Merged
merged 2 commits into from
Dec 22, 2020

Conversation

joshtriplett
Copy link
Member

git_tree_create_updated requires a length and a contiguous array of
git_tree_update structures, each of which has a pointer to a C string.
Create a builder, TreeUpdateBuilder, to wrap that safely without
excessive copies.

@joshtriplett joshtriplett force-pushed the git_tree_create_updated branch from 52e8c0c to bccf7ea Compare December 22, 2020 00:05
@joshtriplett joshtriplett changed the title Add TreeUpdateBuidler to support git_tree_create_updated Add TreeUpdateBuilder to support git_tree_create_updated Dec 22, 2020
git_tree_create_updated requires a length and a contiguous array of
git_tree_update structures, each of which has a pointer to a C string.
Create a builder, `TreeUpdateBuilder`, to wrap that safely without
excessive copies.
@joshtriplett joshtriplett force-pushed the git_tree_create_updated branch from bccf7ea to d23a94f Compare December 22, 2020 06:21
@joshtriplett
Copy link
Member Author

@ehuss Fixed.

@ehuss ehuss merged commit d8d0717 into rust-lang:master Dec 22, 2020
@joshtriplett joshtriplett deleted the git_tree_create_updated branch December 28, 2020 11:42
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