aboutsummaryrefslogtreecommitdiff
path: root/format/pack/ingest/thin_fix.go
diff options
context:
space:
mode:
authorGravatar Runxi Yu2026-03-06 18:38:44 +0800
committerGravatar Runxi Yu2026-03-06 18:58:30 +0800
commitf2922155de01b734e3e8b3f50be8f263ec13cacd (patch)
tree6dcfcf5689e63eea09314dce543e1de26cab89fe /format/pack/ingest/thin_fix.go
parentinternal/compress: Format (diff)
signatureNo signature
*: Lint v0.1.68
Diffstat (limited to 'format/pack/ingest/thin_fix.go')
-rw-r--r--format/pack/ingest/thin_fix.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/format/pack/ingest/thin_fix.go b/format/pack/ingest/thin_fix.go
index 65ce131c..f21ef98a 100644
--- a/format/pack/ingest/thin_fix.go
+++ b/format/pack/ingest/thin_fix.go
@@ -13,11 +13,11 @@ func maybeFixThin(state *ingestState) error {
}
if !state.fixThin {
- return &ErrThinPackUnresolved{Count: len(state.unresolvedRefDeltas)}
+ return &ThinPackUnresolvedError{Count: len(state.unresolvedRefDeltas)}
}
if state.base == nil {
- return &ErrThinPackUnresolved{Count: len(state.unresolvedRefDeltas)}
+ return &ThinPackUnresolvedError{Count: len(state.unresolvedRefDeltas)}
}
hashSize := int64(state.algo.Size())