Capture all git2 re-exports
A refactoring internal to the radicle crate, with the goal of
making dependency on git2 clearer and more controlled.
radicle::git::raw is changed from a complete re-export of git2
to a module that selectively re-exports (many) members of git2.
In the future, no more use git2::… statements should be added
outside of crates/radicle/src/git/raw.rs. This is in an effort to
decrease dependence on git2 in the future.
Introduce trait ErrorExt
This extension trait is more ergonomic than what radicle-git-ext
provides.
Capture all git2 re-exports
A refactoring internal to the radicle crate, with the goal of
making dependency on git2 clearer and more controlled.
radicle::git::raw is changed from a complete re-export of git2
to a module that selectively re-exports (many) members of git2.
In the future, no more use git2::… statements should be added
outside of crates/radicle/src/git/raw.rs. This is in an effort to
decrease dependence on git2 in the future.
Introduce trait ErrorExt
This extension trait is more ergonomic than what radicle-git-ext
provides.
Improve commit message.
REVIEW
I’ve moved the ErrorExt introduction from the first commit to the second, as the second commit said it is being introduced there. This was safe, since it wasn’t being used in the first commit.
I added a review commit to fix up some small sections of code.
Rebase