aboutsummaryrefslogtreecommitdiff
path: root/format/pack/ingest/progress_write.go
diff options
context:
space:
mode:
authorGravatar Runxi Yu2026-03-08 17:53:45 +0800
committerGravatar Runxi Yu2026-03-08 17:53:45 +0800
commit3fe07dd316bde2ea625166176b2285bf0c631889 (patch)
tree181a5aa36765a98a2df43c9ab685cb241fd6a724 /format/pack/ingest/progress_write.go
parentinternal/progress: Use range here (diff)
signatureNo signature
*: Fix lints
Diffstat (limited to 'format/pack/ingest/progress_write.go')
-rw-r--r--format/pack/ingest/progress_write.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/format/pack/ingest/progress_write.go b/format/pack/ingest/progress_write.go
index 3150032b..f372f9d0 100644
--- a/format/pack/ingest/progress_write.go
+++ b/format/pack/ingest/progress_write.go
@@ -4,6 +4,7 @@ import "codeberg.org/lindenii/furgit/internal/utils"
func writeProgress(state *ingestState, format string, args ...any) {
utils.BestEffortFprintf(state.opts.Progress, format, args...)
+
if state.opts.ProgressFlush != nil {
_ = state.opts.ProgressFlush()
}