From dfe3b501c76f78d1d7f04c663f3995ba914b5aea Mon Sep 17 00:00:00 2001 From: Lorenz Leutgeb Date: Sat, 14 Feb 2026 00:03:09 +0100 Subject: [PATCH] radicle/git/raw: `Config` not used on Windows MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Fix a clippy lint that sneaked in… --- crates/radicle/src/git/raw.rs | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/crates/radicle/src/git/raw.rs b/crates/radicle/src/git/raw.rs index 1246d071..5824c8e9 100644 --- a/crates/radicle/src/git/raw.rs +++ b/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;