aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 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