Skip to content
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_frombuffer() in Git::Raw::Index should return an Entry object #180

Closed
ssinyagin opened this issue Dec 29, 2016 · 1 comment
Closed

Comments

@ssinyagin
Copy link

git_index_add_frombuffer() in libgit2 updates the entry with the blob ID. Please make the corresponding method in Git::Raw::Index return a Git::Raw::Index::Entry object.

Use case: after calling add_frombuffer(), I can compare the blob ID with the previous value, and immediately derive if the data file was changed.

@jacquesg
Copy link
Owner

Fixed in 14ce0c3

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

No branches or pull requests

2 participants