From e224044dead7589744b6246965c15195130219d7 Mon Sep 17 00:00:00 2001 From: Yuya Nishihara Date: Fri, 19 May 2023 21:19:46 +0900 Subject: [PATCH] git_backend: consistently use CommitId type to look up extra metadata table --- lib/src/git_backend.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/src/git_backend.rs b/lib/src/git_backend.rs index dca06e9c2..157ae7a33 100644 --- a/lib/src/git_backend.rs +++ b/lib/src/git_backend.rs @@ -485,7 +485,7 @@ impl Backend for GitBackend { }; 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); }