Add binding for git_index_add_frombuffer
#400
Loading…
Reference in New Issue
No description provided.
Delete Branch "git_index_add_frombuffer"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
It would be nice to have this binding.
The blob's id and size are updated in the entry you pass into the C function, but this is thrown away in this implementation.
tried to add a test to ensure that the updated info gets propagated to the
entry
, but it turns out that this was never the case! thesource_entry
is never touched, and theid
andsize
are only updated in theentry
which is local to that function. So I sent out https://github.com/libgit2/libgit2/pull/5419 to fix the docs.