git_backend: consistently use CommitId type to look up extra metadata table

This commit is contained in:
Yuya Nishihara 2023-05-19 21:19:46 +09:00
parent 78c8dbc8fe
commit e224044dea

View file

@ -485,7 +485,7 @@ impl Backend for GitBackend {
}; };
let table = self.cached_extra_metadata_table()?; let table = self.cached_extra_metadata_table()?;
if let Some(extras) = table.get_value(git_commit_id.as_bytes()) { if let Some(extras) = table.get_value(id.as_bytes()) {
deserialize_extras(&mut commit, extras); deserialize_extras(&mut commit, extras);
} }