diff options
Diffstat (limited to 'src/remote.c')
| -rw-r--r-- | src/remote.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/src/remote.c b/src/remote.c index 531912c64..dd9b17854 100644 --- a/src/remote.c +++ b/src/remote.c @@ -2160,12 +2160,6 @@ int git_remote_push(git_remote *remote, git_strarray *refspecs, const git_push_o if ((error = git_push_finish(push)) < 0) goto cleanup; - if (!git_push_unpack_ok(push)) { - error = -1; - giterr_set(GITERR_NET, "error in the remote while trying to unpack"); - goto cleanup; - } - if (cbs->push_update_reference && (error = git_push_status_foreach(push, cbs->push_update_reference, cbs->payload)) < 0) goto cleanup; |
