From 2b87aa39ab9d19cb93a087f0cf6641334d103048 Mon Sep 17 00:00:00 2001 From: Runxi Yu Date: Thu, 29 Jan 2026 17:52:29 +0100 Subject: packed: Fix message for thin packs not implemented --- packed_write_pack.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'packed_write_pack.go') 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 -- cgit v1.3.1-10-gc9f91