Skip to content

Commit 537e5aa

Browse files
committed
fix progress - there is no max value for bytes written (#301)
1 parent 5388d80 commit 537e5aa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

gitoxide-core/src/index/mod.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -165,7 +165,7 @@ pub fn checkout_exclusive(
165165

166166
let entries_for_checkout = index.entries().len() - num_skipped;
167167
files.init(Some(entries_for_checkout), git::progress::count("files"));
168-
bytes.init(Some(entries_for_checkout), git::progress::bytes());
168+
bytes.init(None, git::progress::bytes());
169169

170170
let start = std::time::Instant::now();
171171
match &repo {

0 commit comments

Comments
 (0)