diff --git a/External/libgit2 b/External/libgit2 index c27b4afcd..661db4f48 160000 --- a/External/libgit2 +++ b/External/libgit2 @@ -1 +1 @@ -Subproject commit c27b4afcdd80f5a45d7120044bf3d78272181abb +Subproject commit 661db4f4829a0fe1330f275de6e58c34589f512f diff --git a/ObjectiveGit/GTRepository+RemoteOperations.m b/ObjectiveGit/GTRepository+RemoteOperations.m index a03cbe28f..84716d495 100644 --- a/ObjectiveGit/GTRepository+RemoteOperations.m +++ b/ObjectiveGit/GTRepository+RemoteOperations.m @@ -226,7 +226,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); + gitError = git_remote_connect(remote.git_remote, GIT_DIRECTION_PUSH, &remote_callbacks, NULL); if (gitError != GIT_OK) { if (error != NULL) *error = [NSError git_errorFor:gitError description:@"Failed to connect remote"]; return NO;