aboutsummaryrefslogtreecommitdiff
path: root/format/pack/ingest/thin_fix.go
diff options
context:
space:
mode:
authorGravatar Runxi Yu2026-03-08 03:46:13 +0800
committerGravatar Runxi Yu2026-03-08 03:46:13 +0800
commit4043486a652566923b27d1a90eedcdc8d9b0b3ea (patch)
treef43cbaae89ffebe95f973b6de142e0f1a0e091b6 /format/pack/ingest/thin_fix.go
parentformat/pack/ingest: Thin pack fixing progress (diff)
signatureNo signature
*: Reformat v0.1.75
Diffstat (limited to 'format/pack/ingest/thin_fix.go')
-rw-r--r--format/pack/ingest/thin_fix.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/format/pack/ingest/thin_fix.go b/format/pack/ingest/thin_fix.go
index 35068079..b1d8ae7c 100644
--- a/format/pack/ingest/thin_fix.go
+++ b/format/pack/ingest/thin_fix.go
@@ -54,6 +54,7 @@ func maybeFixThin(state *ingestState) error {
state.stream.consumed = consumed
baseIDs := unresolvedThinBaseIDs(state)
+
total := len(baseIDs)
if total > 0 {
utils.WriteProgressf(state.opts.Progress, "fixing thin pack: 0%% (0/%d)\r", total)