radicle/git/raw: `Config` not used on Windows
Fix a clippy lint that sneaked in…
This commit is contained in:
parent
ed2b36cf9c
commit
dfe3b501c7
|
|
@ -6,10 +6,12 @@
|
||||||
|
|
||||||
// Re-exports that are only used within this crate.
|
// Re-exports that are only used within this crate.
|
||||||
pub(crate) use git2::{
|
pub(crate) use git2::{
|
||||||
message_trailers_strs, AutotagOption, Blob, Config, FetchOptions, FetchPrune, Object, Revwalk,
|
message_trailers_strs, AutotagOption, Blob, FetchOptions, FetchPrune, Object, Revwalk, Sort,
|
||||||
Sort,
|
|
||||||
};
|
};
|
||||||
|
|
||||||
|
#[cfg(unix)]
|
||||||
|
pub(crate) use git2::Config;
|
||||||
|
|
||||||
// Re-exports that are only used within this crate for testing.
|
// Re-exports that are only used within this crate for testing.
|
||||||
#[cfg(any(test, feature = "test"))]
|
#[cfg(any(test, feature = "test"))]
|
||||||
pub(crate) use git2::RemoteCallbacks;
|
pub(crate) use git2::RemoteCallbacks;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue