Make the network code use handles #212
Loading…
Reference in New Issue
No description provided.
Delete Branch "remote-handle"
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?
This wasn't ported together with the rest, but it does exhibit the same
issues, so let's port it over now.
/cc @michaeledgar @radeksimko this should be enough to get the code in
master
to work. The code innext
requires a somewhat different handling dealing more with the C allocator.This patch is good, and resolves my issues. Thanks!
Sorry it took so long to respond to this - I had a separate bug in my code which presented nearly identically during remote operations. (I was trying to reuse *git.Cred objects, but the underlying *C.git_cred is freed by libgit2 after the first use)