rust-lang / git2-rs

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

Consistently use the error message from a callback error. #1043

Closed ehuss closed 1 month ago

ehuss commented 2 months ago

This updates some of the C callbacks to set the git error with the error returned from the callback. Previously the error was just getting dropped and lost.