rust-lang / git2-rs

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

When i follow the example/pull.rs to use in my project, Some Error occur but has not show #902

Closed kyrosle closed 1 year ago

kyrosle commented 1 year ago

Here is my projcect, https://github.com/kyrosle/flutter_blog_backend. running the Command : cargo run --example github I make some change in the run function in here :https://github.com/kyrosle/flutter_blog_backend/blob/master/src/utils/git_pull.rs And then It was use in the project example github, after all the repository were cloned in the tempdir such as AppLocal/Temp dirctory, then i do make every repository git pull, if the operation is success, it may println message like Do a normal merge... or "Nothing to do..." which were execute in the utils/git-pull.rs do_megre function. It confused me so long , hope for any reply ~ 😊