Unified · Split
| @@ -75,7 +75,7 @@ mod find_impl { · 74 unmodified lines | |||
| 75 | ) -> Result<Option<(Data<'a>, Option<Location>)>, Self::Error> { | 75 | ) -> Result<Option<(Data<'a>, Option<Location>)>, Self::Error> { |
| 76 | match self.pack_cache.as_ref().map(|rc| rc.borrow_mut()) { | 76 | match self.pack_cache.as_ref().map(|rc| rc.borrow_mut()) { |
| 77 | Some(mut pack_cache) => self.try_find_cached(id, buffer, pack_cache.deref_mut()), | 77 | Some(mut pack_cache) => self.try_find_cached(id, buffer, pack_cache.deref_mut()), |
| 78 | None => self.store.try_find(id, buffer), | 78 | None => self.try_find_cached(id, buffer, &mut git_pack::cache::Never), |
| 79 | } | 79 | } |
| 80 | } | 80 | } |
| 81 | 81 | ||