fix(git): allow staged config accessor

This commit is contained in:
Chris Bookholt
2026-07-03 18:55:35 -07:00
parent 21ca43303b
commit f6b6a4951f
@@ -98,6 +98,7 @@ impl GitConfigEnvironmentSnapshot {
}
}
#[cfg_attr(not(test), allow(dead_code))]
pub(crate) fn value(&self, name: &str) -> Option<&OsStr> {
self.entries
.iter()