Skip to content

Commit b2cef1c

Browse files
committed
Remove git_push_unpack_ok check
The function no longer exists. See libgit2/libgit2@4eb97ef.
1 parent 54e4dd7 commit b2cef1c

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

ObjectiveGit/GTRepository+RemoteOperations.m

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -278,12 +278,6 @@ - (BOOL)pushRefspecs:(NSArray *)refspecs toRemote:(GTRemote *)remote withOptions
278278
return NO;
279279
}
280280

281-
int unpackSuccessful = git_push_unpack_ok(push);
282-
if (unpackSuccessful == 0) {
283-
if (error != NULL) *error = [NSError errorWithDomain:GTGitErrorDomain code:GIT_ERROR userInfo:@{ NSLocalizedDescriptionKey: @"Unpacking failed" }];
284-
return NO;
285-
}
286-
287281
gitError = git_push_update_tips(push, self.userSignatureForNow.git_signature, NULL);
288282
if (gitError != GIT_OK) {
289283
if (error != NULL) *error = [NSError git_errorFor:gitError description:@"Update tips failed"];

0 commit comments

Comments
 (0)