History

Use source's object_hash in TryFrom

Christoph Rüßler committed 6 months ago

Commit 78b7fdf1 parent fbb2e6e1 file · +1 −1Browse files

Unified · Split

gix-odb/src/store_impls/dynamic/handle.rs+1−1
@@ -349,7 +349,7 @@ impl TryFrom<&super::Store> for super::Store { · 348 unmodified lines
349349 &mut s.replacements(),
350350 crate::store::init::Options {
351351 slots: crate::store::init::Slots::Given(s.files.len().try_into().expect("BUG: too many slots")),
352− object_hash: Default::default(),
352+ object_hash: s.object_hash,
353353 use_multi_pack_index: false,
354354 alloc_limit_bytes: s.alloc_limit_bytes,
355355 current_dir: s.current_dir.clone().into(),