mirror of
https://git.proxmox.com/git/libgit2
synced 2025-06-23 12:05:21 +00:00
Fix bug in git_smart__push: push_transfer_progress cb is never called
The conditional checked cbs->transfer_progress then used the value in cbs->push_transfer_progress. In both cases it should be push_transfer_progress
This commit is contained in:
parent
abbe17ef1f
commit
b0b2c72274
@ -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;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user