diff options
| author | 2026-03-08 03:31:12 +0800 | |
|---|---|---|
| committer | 2026-03-08 03:31:12 +0800 | |
| commit | 74584d2dee4f349b5b3535669fa304b95f0f6e52 (patch) | |
| tree | 8ce22050c4726eeaffa29f34074bf8f874c51c7c /format/pack/ingest/api.go | |
| parent | receivepack: Add basic progress logging (diff) | |
| signature | No signature | |
format/pack/ingest: Add more progress
Diffstat (limited to 'format/pack/ingest/api.go')
| -rw-r--r-- | format/pack/ingest/api.go | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/format/pack/ingest/api.go b/format/pack/ingest/api.go index f24bf83d..eb00ded3 100644 --- a/format/pack/ingest/api.go +++ b/format/pack/ingest/api.go @@ -16,6 +16,10 @@ type Options struct { WriteRev bool // Base supplies existing objects for thin-pack fixup. Base objectstore.Store + // Progress receives human-readable progress messages. + // + // When nil, no progress output is emitted. + Progress io.Writer // RequireTrailingEOF requires the source to hit EOF after the pack trailer. // // This is suitable for exact pack-file readers, but should be disabled for |
