aboutsummaryrefslogtreecommitdiffstats
path: root/remote.go
diff options
context:
space:
mode:
Diffstat (limited to 'remote.go')
-rw-r--r--remote.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/remote.go b/remote.go
index c654422..8e2d8a8 100644
--- a/remote.go
+++ b/remote.go
@@ -173,7 +173,7 @@ func (r *Remote) updateObjectStorage(reader io.Reader) error {
return err
}
- stream := packfile.NewScannerFromReader(reader)
+ stream := packfile.NewScanner(reader)
d := packfile.NewDecoder(stream, s)
_, err := d.Decode()
return err