-
Notifications
You must be signed in to change notification settings - Fork 899
Refactor Network Internal API #1087
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
Refactor Network Internal API #1087
Conversation
Looks pretty neat to me. @jamill ? |
|
||
RemoteSafeHandle remoteHandle; | ||
|
||
remoteHandle = Proxy.git_remote_create_anonymous(repoHandle, url); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
any reason to not just initialize the remoteHandle
to this value when declaring it? Not big deal either way...
Looks good to me - left just 2 small comments that are more style oriented. Thanks @whoisj! |
Both fair. I'll update in the morning. Thanks |
@jamill just pushed the changes you asked for. Let me know if this is ready, thanks. |
Looks like a random failure in AppVeyor. I'll "touch" a commit and restart it. |
@@ -0,0 +1,6 @@ | |||
<?xml version="1.0" encoding="utf-8" ?> | |||
<configuration> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@whoisj You may have unintentionally staged too many files....
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
😕
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@nulltoken fixed, thanks.
…itancy updated caller methods as necissary
Refactor Network Internal API
👍 I'm eager to see the new Coverity numbers!!! |
Fixes #1084
DoFetch
into three overloaded methods.RemoteSafeHandle
Remote
, acquires aRemoteSafeHandle
, and calls primaryRemoteSafeHandle
, and calls primary