Skip to content

Commit 2d32f4d

Browse files
committed
A statement about replacement objects (#364)
1 parent b16d5e9 commit 2d32f4d

File tree

1 file changed

+1
-1
lines changed
  • git-odb/src/store_impls/dynamic

1 file changed

+1
-1
lines changed

git-odb/src/store_impls/dynamic/find.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -419,7 +419,7 @@ where
419419
"BUG: handle must be configured to `prevent_pack_unload()` before using this method"
420420
);
421421

422-
assert!(self.store_ref().replacements.is_empty() || self.ignore_replacements, "TODO: It's unclear right now how replacements tie into packs - turn it off or make sure we do the right thing");
422+
assert!(self.store_ref().replacements.is_empty() || self.ignore_replacements, "Everything related to packing must not use replacements. These are not used here, but it should be turned off for good measure.");
423423

424424
let id = id.as_ref();
425425
let mut snapshot = self.snapshot.borrow_mut();

0 commit comments

Comments
 (0)