diff --git a/External/libgit2 b/External/libgit2 index 211e117a0..75db289a0 160000 --- a/External/libgit2 +++ b/External/libgit2 @@ -1 +1 @@ -Subproject commit 211e117a0590583a720c53172406f34186c543bd +Subproject commit 75db289a041b1f1084768244e167b953ac7eeaa5 diff --git a/ObjectiveGit/GTRepository+RemoteOperations.m b/ObjectiveGit/GTRepository+RemoteOperations.m index 327dbcd30..1d3024ce2 100644 --- a/ObjectiveGit/GTRepository+RemoteOperations.m +++ b/ObjectiveGit/GTRepository+RemoteOperations.m @@ -270,7 +270,7 @@ - (BOOL)pushRefspecs:(NSArray *)refspecs toRemote:(GTRemote *)remote withOptions remote_callbacks.push_transfer_progress = GTRemotePushTransferProgressCallback; remote_callbacks.payload = &connectionInfo, - gitError = git_remote_connect(remote.git_remote, GIT_DIRECTION_PUSH, &remote_callbacks, NULL); + gitError = git_remote_connect(remote.git_remote, GIT_DIRECTION_PUSH, &remote_callbacks, NULL, NULL); if (gitError != GIT_OK) { if (error != NULL) *error = [NSError git_errorFor:gitError description:@"Failed to connect remote"]; return NO;