diff --git a/git-odb/src/pack/index/verify.rs b/git-odb/src/pack/index/verify.rs index ba9854f19ff..53d468c18cf 100644 --- a/git-odb/src/pack/index/verify.rs +++ b/git-odb/src/pack/index/verify.rs @@ -213,10 +213,10 @@ impl index::File { div_decode_result(&mut self.stats.average, self.chunks_seen); let elapsed_s = Instant::now().duration_since(self.then).as_secs_f32(); self.progress.lock().unwrap().info(format!( - "Reduced {} objects in {:.2}s ({:.0} objects/s)", + "Reduced {} objects in {:.2}s ({} objects/s)", self.entries_seen, elapsed_s, - self.entries_seen as f32 / elapsed_s + (self.entries_seen as f32 / elapsed_s) as u32 )); Ok(self.stats) } diff --git a/tasks.md b/tasks.md index 804473ca527..3bda73c6828 100644 --- a/tasks.md +++ b/tasks.md @@ -31,6 +31,7 @@ * [ ] ~~a verbose mode to list each object in a pack, similar to existing git-verify-pack~~ * [x] journey tests * [x] display object throughput per second + * [ ] progress that allows TUI to remain open for people to see more log messages * [ ] support for serde/miniserde for all returned data types (features per crate) * **stress** * [ ] first stress test for validation of a big repository, linux maybe, or something smaller but big enough