rust-lang / git2-rs

libgit2 bindings for Rust
https://docs.rs/git2
Apache License 2.0
1.65k stars 381 forks source link

Add bindings for push_negotiation callback #926

Closed karin0 closed 1 year ago

karin0 commented 1 year ago

This fixes #733 .

This PR adds RemoteCallbacks::push_negotiation, PushNegotiation and PushUpdate to expose the push_negotiation callback. A test is added at the end of src/remote.rs.