From abc1d741a4c6580d748cb07b95317ecfc71c3b0d Mon Sep 17 00:00:00 2001 From: Slava Karpenko Date: Wed, 23 Mar 2016 14:20:38 +0300 Subject: [PATCH 1/2] Updating libgit2 pointer --- External/libgit2 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 From 41279e4b7f6e3946393f2728f447773e5f093113 Mon Sep 17 00:00:00 2001 From: Slava Karpenko Date: Wed, 23 Mar 2016 15:35:04 +0300 Subject: [PATCH 2/2] Updating for new libgit2 git_remote_connect() call --- ObjectiveGit/GTRepository+RemoteOperations.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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;