diff --git a/gix-ref/src/store/file/log/iter.rs b/gix-ref/src/store/file/log/iter.rs index 04466478915..3c5e7bcb259 100644 --- a/gix-ref/src/store/file/log/iter.rs +++ b/gix-ref/src/store/file/log/iter.rs @@ -92,7 +92,7 @@ impl Platform<'_, '_> { /// Return a forward iterator over all log-lines, most recent to oldest. pub fn rev(&mut self) -> std::io::Result>> { self.buf.clear(); - self.buf.resize(512, 0); + self.buf.resize(1024 * 4, 0); self.store .reflog_iter_rev(self.name, &mut self.buf) .map_err(must_be_io_err)