diff options
| author | 2026-03-08 03:40:00 +0800 | |
|---|---|---|
| committer | 2026-03-08 03:40:00 +0800 | |
| commit | cb207dc2c9ac9218f4e1e75ec3aa46616eaa6c87 (patch) | |
| tree | 5a602996e40f01f522b6a3dcfec485ca65c204d0 /format/pack/ingest/scan.go | |
| parent | format/pack/ingest: Add more progress (diff) | |
| signature | No signature | |
receivepack/service, format/pack/ingest: Progress uniform
Diffstat (limited to 'format/pack/ingest/scan.go')
| -rw-r--r-- | format/pack/ingest/scan.go | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/format/pack/ingest/scan.go b/format/pack/ingest/scan.go index a0d06dac..94251cb9 100644 --- a/format/pack/ingest/scan.go +++ b/format/pack/ingest/scan.go @@ -21,10 +21,12 @@ func streamPackAndScan(state *ingestState) error { state.algo.Size(), ) + utils.WriteProgressf(state.opts.Progress, "validating pack header...\r") err = readAndValidatePackHeader(state) if err != nil { return err } + utils.WriteProgressf(state.opts.Progress, "validating pack header: done.\n") state.records = make([]objectRecord, 0, state.objectCountHeader) state.ofsDeltas = make([]ofsDeltaRef, 0, state.objectCountHeader) |
