Commit 252f86e1 by Edward Thomson

Merge pull request #3377 from dleehr/fix-push-cb

Fix bug in git_smart__push: push_transfer_progress cb is only called at end
parents 0ba62ba5 b0b2c722
...@@ -957,7 +957,7 @@ int git_smart__push(git_transport *transport, git_push *push, const git_remote_c ...@@ -957,7 +957,7 @@ int git_smart__push(git_transport *transport, git_push *push, const git_remote_c
packbuilder_payload.pb = push->pb; packbuilder_payload.pb = push->pb;
if (cbs && cbs->transfer_progress) { if (cbs && cbs->push_transfer_progress) {
packbuilder_payload.cb = cbs->push_transfer_progress; packbuilder_payload.cb = cbs->push_transfer_progress;
packbuilder_payload.cb_payload = cbs->payload; packbuilder_payload.cb_payload = cbs->payload;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment