diff options
| author | 2026-02-20 12:49:27 +0800 | |
|---|---|---|
| committer | 2026-02-20 12:57:31 +0800 | |
| commit | 5ce52142bf5ef4a7c845018000b537f01c8bbcca (patch) | |
| tree | 8ec24236a18d99570a178d754834951033e49804 | |
| parent | Revert "packed: Cleanup" (diff) | |
| signature | No signature | |
Revert "packed: Fix message for thin packs not implemented"
This reverts commit 2b87aa39ab9d19cb93a087f0cf6641334d103048.
| -rw-r--r-- | packed_write_pack.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/packed_write_pack.go b/packed_write_pack.go index e6304e64..81c8399d 100644 --- a/packed_write_pack.go +++ b/packed_write_pack.go @@ -11,7 +11,7 @@ import ( ) // TODO -var errThinPackUnimplemented = errors.New("furgit: pack: thin packs not implemented") +var errPackDeltaUnimplemented = errors.New("furgit: pack: delta writing not implemented") // packWriter writes a PACKv2 stream. type packWriter struct { @@ -291,7 +291,7 @@ func (repo *Repository) packWrite(w io.Writer, objects []Hash, opts packWriteOpt return Hash{}, ErrInvalidObject } if opts.EnableThinPack { - return Hash{}, errThinPackUnimplemented + return Hash{}, errPackDeltaUnimplemented } if len(objects) > int(^uint32(0)) { return Hash{}, ErrInvalidObject |
