aboutsummaryrefslogtreecommitdiffstats
path: root/formats/packfile/reader.go
diff options
context:
space:
mode:
Diffstat (limited to 'formats/packfile/reader.go')
-rw-r--r--formats/packfile/reader.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/formats/packfile/reader.go b/formats/packfile/reader.go
index 3ff342f..37918b1 100644
--- a/formats/packfile/reader.go
+++ b/formats/packfile/reader.go
@@ -59,7 +59,7 @@ func NewReader(r io.Reader) *Reader {
return &Reader{
MaxObjectsLimit: DefaultMaxObjectsLimit,
- r: &trackingReader{r: r},
+ r: NewTrackingReader(r),
offsets: make(map[int64]core.Hash, 0),
}
}