aboutsummaryrefslogtreecommitdiff
path: root/packed_write_pack.go
diff options
context:
space:
mode:
authorGravatar Runxi Yu2026-01-29 17:52:29 +0100
committerGravatar Runxi Yu2026-01-29 17:52:29 +0100
commit2b87aa39ab9d19cb93a087f0cf6641334d103048 (patch)
tree8aa6f8188da85790445fe218a3f1ef4b4a2f1a8f /packed_write_pack.go
parentpacked: Use random delta seed (diff)
signatureNo signature
packed: Fix message for thin packs not implemented
Diffstat (limited to 'packed_write_pack.go')
-rw-r--r--packed_write_pack.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/packed_write_pack.go b/packed_write_pack.go
index 42c8793d..032e308d 100644
--- a/packed_write_pack.go
+++ b/packed_write_pack.go
@@ -13,7 +13,7 @@ import (
)
// TODO
-var errPackDeltaUnimplemented = errors.New("furgit: pack: delta writing not implemented")
+var errThinPackUnimplemented = errors.New("furgit: pack: thin packs not implemented")
// packWriter writes a PACKv2 stream.
type packWriter struct {
@@ -304,7 +304,7 @@ func (repo *Repository) packWrite(w io.Writer, objects []Hash, opts packWriteOpt
return Hash{}, ErrInvalidObject
}
if opts.EnableThinPack {
- return Hash{}, errPackDeltaUnimplemented
+ return Hash{}, errThinPackUnimplemented
}
if len(objects) > int(^uint32(0)) {
return Hash{}, ErrInvalidObject