diff --git a/git-repository/src/config.rs b/git-repository/src/config.rs index 660777ebf7..3caad67c79 100644 --- a/git-repository/src/config.rs +++ b/git-repository/src/config.rs @@ -15,6 +15,8 @@ pub enum Error { /// Utility type to keep pre-obtained configuration values. #[derive(Debug, Clone)] pub(crate) struct Cache { + // TODO: remove this once resolved is used without a feature dependency + #[cfg_attr(not(feature = "git-mailmap"), allow(dead_code))] pub resolved: crate::Config, /// The hex-length to assume when shortening object ids. If `None`, it should be computed based on the approximate object count. pub hex_len: Option,