Skip to content

Commit 0f66776

Browse files
committed
Call crate initialization instead of libgit2
1 parent ff12cad commit 0f66776

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/transport.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ struct RawSmartSubtransportStream {
107107
pub unsafe fn register<F>(prefix: &str, factory: F) -> Result<(), Error>
108108
where F: Fn(&Remote) -> Result<Transport, Error> + Send + Sync + 'static
109109
{
110-
libgit2_sys::init();
110+
::init();
111111
let mut data = Box::new(TransportData {
112112
factory: Box::new(factory),
113113
});

0 commit comments

Comments
 (0)