mirror of
https://github.com/martinvonz/jj.git
synced 2025-01-18 18:27:38 +00:00
index: get generation number from specific impl in test
This commit is contained in:
parent
a5b79f9b0e
commit
baea314fc0
1 changed files with 1 additions and 1 deletions
|
@ -35,7 +35,7 @@ fn child_commit<'repo>(
|
||||||
}
|
}
|
||||||
|
|
||||||
// Helper just to reduce line wrapping
|
// Helper just to reduce line wrapping
|
||||||
fn generation_number(index: &dyn Index, commit_id: &CommitId) -> u32 {
|
fn generation_number(index: &ReadonlyIndexImpl, commit_id: &CommitId) -> u32 {
|
||||||
index.entry_by_id(commit_id).unwrap().generation_number()
|
index.entry_by_id(commit_id).unwrap().generation_number()
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue