Add prune methods to Remote. #165
Loading…
Reference in New Issue
No description provided.
Delete Branch "remote_prune_refs"
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?
@carlosmn, I've noticed that
C.git_remote_create
doesn't load the prune configuration. I don't know if that's intentional, if not, I have a patch ready for libgit2.Aren't we loading it in https://github.com/libgit2/libgit2/blob/master/src/remote.c#L447-L461 ?
Yes, but that's only if you call
C.git_remote_lookup
. Theremote
pointer returned byC.git_remote_create
doesn't call those lines. Let me open a PR in libgit2 to keep the conversation there.I think this is ready to merge. The changes in libgit2 don't really block this new addition.