(updates, num_updates, data)
| 574 | |
| 575 | @libgit2_callback |
| 576 | def _push_negotiation_cb(updates, num_updates, data): |
| 577 | from .remotes import PushUpdate |
| 578 | |
| 579 | push_negotiation = getattr(data, 'push_negotiation', None) |
| 580 | if not push_negotiation: |
| 581 | return 0 |
| 582 | |
| 583 | py_updates = [PushUpdate(updates[i]) for i in range(num_updates)] |
| 584 | push_negotiation(py_updates) |
| 585 | return 0 |
| 586 | |
| 587 | |
| 588 | @libgit2_callback |
nothing calls this directly
no test coverage detected
searching dependent graphs…