Add support for git_odb_write (and git_odb_hash) #187

Closed
book opened this Issue Mar 23, 2017 · 3 comments

Comments

Projects
None yet
2 participants
@book

book commented Mar 23, 2017

To complete the Git::Raw backend I'm currently writing for Git::Database, I need to implement the put_object method for the Git::Database::Role::ObjectWriter role.

git_odb_write looks like the method that I need.

If I want to improve on the default implementation of hash_object, I could probably make use git_odb_hash too.

Thanks in advance.

@jacquesg

This comment has been minimized.

Show comment
Hide comment
@jacquesg

jacquesg Mar 23, 2017

Owner

Added in f3e288b. Let me know if you require a new release.

Owner

jacquesg commented Mar 23, 2017

Added in f3e288b. Let me know if you require a new release.

@book

This comment has been minimized.

Show comment
Hide comment
@book

book Mar 23, 2017

Excellent! Thanks a lot, with your last patch, Git::Raw is a fully supported backend for Git::Database.

I'll make your next release the minimum required version.

book commented Mar 23, 2017

Excellent! Thanks a lot, with your last patch, Git::Raw is a fully supported backend for Git::Database.

I'll make your next release the minimum required version.

@book book closed this Mar 23, 2017

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment