diff options
| author | 2026-03-07 23:35:28 +0800 | |
|---|---|---|
| committer | 2026-03-07 23:35:28 +0800 | |
| commit | b279c7e4dc798b4c8055af8e974edbc8973d4537 (patch) | |
| tree | 1710e154f86d391a2f6789e37318fa6363d2beec /format/pack/ingest/scan.go | |
| parent | internal/testgit: Add more execution helpers (diff) | |
| signature | No signature | |
format/pack/ingest: Use Options; don't require EOF
Diffstat (limited to 'format/pack/ingest/scan.go')
| -rw-r--r-- | format/pack/ingest/scan.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/format/pack/ingest/scan.go b/format/pack/ingest/scan.go index 36b7f75e..d1252d00 100644 --- a/format/pack/ingest/scan.go +++ b/format/pack/ingest/scan.go @@ -40,7 +40,7 @@ func streamPackAndScan(state *ingestState) error { } } - err = state.stream.finishAndFlushTrailer() + err = state.stream.finishAndFlushTrailer(state.opts.RequireTrailingEOF) if err != nil { return err } |
