Radish alpha
h
rad:z3gqcJUoA1n9HaHKufZs5FCSGazv5
Radicle Heartwood Protocol & Stack
Radicle
Git
radicle/git/raw: `Config` not used on Windows
Merged lorenz opened 2 months ago

Fix a clippy lint that sneaked in…

1 file changed +4 -2 ed2b36cf dfe3b501
modified crates/radicle/src/git/raw.rs
@@ -6,10 +6,12 @@

// Re-exports that are only used within this crate.
pub(crate) use git2::{
-
    message_trailers_strs, AutotagOption, Blob, Config, FetchOptions, FetchPrune, Object, Revwalk,
-
    Sort,
+
    message_trailers_strs, AutotagOption, Blob, FetchOptions, FetchPrune, Object, Revwalk, Sort,
};

+
#[cfg(unix)]
+
pub(crate) use git2::Config;
+

// Re-exports that are only used within this crate for testing.
#[cfg(any(test, feature = "test"))]
pub(crate) use git2::RemoteCallbacks;