aboutsummaryrefslogtreecommitdiff
path: root/format/pack/ingest/api.go
diff options
context:
space:
mode:
Diffstat (limited to 'format/pack/ingest/api.go')
-rw-r--r--format/pack/ingest/api.go4
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