From 58fe211f1b0e4863b425542d2fad15803276fd66 Mon Sep 17 00:00:00 2001 From: Máximo Cuadros Date: Sun, 11 Sep 2016 20:35:06 +0200 Subject: format: packfile fix ReadObjectAt without decode --- remote.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'remote.go') 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 -- cgit