git2-rs
git2-rs copied to clipboard
libgit2 bindings for Rust
Add support for the `GIT_OPT_SET_ALLOCATOR` option.
`Repository::commit` needs to be called, otherwise the index gets goofed up. In my specific case, it resulted in a file created in a fetched commit being staged for deletion. https://libgit2.org/libgit2/ex/HEAD/merge.html...
I was writing some tests for our index resolving code, and noticed that when we're calling `index.add_frombuffer` if we don't clear the flags of our `our` IndexEntry, the tree that...