Skip to content

Commit

Permalink
Add missing replace_map initialization
Browse files Browse the repository at this point in the history
I'm not sure how this was working without.
  • Loading branch information
glandium committed Nov 12, 2023
1 parent da6afc3 commit 563c162
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/store.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2214,6 +2214,10 @@ impl Metadata {
let cid = if let Some(c) = c {
c
} else {
unsafe {
reset_replace_map();
init_replace_map();
}
return result;
};
let c = RawCommit::read(cid).unwrap();
Expand Down

0 comments on commit 563c162

Please sign in to comment.