Skip to content

Commit 74bcbb5

Browse files
committed
prepare next task
1 parent 53b4513 commit 74bcbb5

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

git-odb/src/pack/index/verify.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -213,10 +213,10 @@ impl index::File {
213213
div_decode_result(&mut self.stats.average, self.chunks_seen);
214214
let elapsed_s = Instant::now().duration_since(self.then).as_secs_f32();
215215
self.progress.lock().unwrap().info(format!(
216-
"Reduced {} objects in {:.2}s ({:.0} objects/s)",
216+
"Reduced {} objects in {:.2}s ({} objects/s)",
217217
self.entries_seen,
218218
elapsed_s,
219-
self.entries_seen as f32 / elapsed_s
219+
(self.entries_seen as f32 / elapsed_s) as u32
220220
));
221221
Ok(self.stats)
222222
}

tasks.md

+1
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@
3131
* [ ] ~~a verbose mode to list each object in a pack, similar to existing git-verify-pack~~
3232
* [x] journey tests
3333
* [x] display object throughput per second
34+
* [ ] progress that allows TUI to remain open for people to see more log messages
3435
* [ ] support for serde/miniserde for all returned data types (features per crate)
3536
* **stress**
3637
* [ ] first stress test for validation of a big repository, linux maybe, or something smaller but big enough

0 commit comments

Comments
 (0)