We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 95c243f commit 43d583fCopy full SHA for 43d583f
src/odb.rs
@@ -41,6 +41,7 @@ impl<'repo> Drop for Odb<'repo> {
41
impl<'repo> Odb<'repo> {
42
/// Creates an object database without any backends.
43
pub fn new<'a>() -> Result<Odb<'a>, Error> {
44
+ crate::init();
45
unsafe {
46
let mut out = ptr::null_mut();
47
try_call!(raw::git_odb_new(&mut out));
0 commit comments