Conversation
which is waiting for merging in libgit2/libgit2#1729
Classes/GTBranch.m
Outdated
There was a problem hiding this comment.
Style: dot syntax, since these methods don't have externally-visible side effects.
|
🍄 Can you please also merge from |
|
🌻 |
Classes/GTRemote.h
Outdated
There was a problem hiding this comment.
Yeah, the name isn't right. What about
-cancelOperation? I'm not really against*stopparameters, but the caller of the block ought to still have access to the specific remote under consideration to call it, and I can't really add the*stopparameter tocredentialBlockbecause it won't always be needed.
I don't think the credential block needs a BOOL *stop, but the rest should have one. The remote is still accessible, because any code that could pass in these blocks will also know the GTRemote object, and can just capture it.
There was a problem hiding this comment.
That's more or less what I was saying ;-). I'll add *stop parameters then.
Classes/GTRemote.m
Outdated
There was a problem hiding this comment.
I don't see anywhere that specifies this will return 1. We should probably compare != 0 instead.
|
I'll work on a few of these comments and commit. |
… instance variable access.
|
@jspahrsummers There are only two changes missing, I'm waiting on your comments on those (options dictionary, which is similar to what we currently have for clone). |
|
Okay, good to go. As a bonus, I added a remote clone test against the libgit2 documentation if you set some environment variables — I'm overly cautious around pointer-thingy changes ;-). |
There was a problem hiding this comment.
This can use -mutableCopy.
There was a problem hiding this comment.
Yeah, I was so annoyed by the duplication between this and the one above that it just flew above my head 😧.
|
This looks really great. Thanks, and sorry for the delay! 🙇 |
Fetch support.

This supersedes #203.
It looks mostly ready so I'm open to suggestions. It misses tests (again :-S) and documentation.