aboutsummaryrefslogtreecommitdiffstats
path: root/remote.go
diff options
context:
space:
mode:
authorMáximo Cuadros <mcuadros@gmail.com>2016-09-11 20:35:06 +0200
committerMáximo Cuadros <mcuadros@gmail.com>2016-09-11 20:35:06 +0200
commit58fe211f1b0e4863b425542d2fad15803276fd66 (patch)
treec200b6317b7b1c77c312faa411ab39e6e4468967 /remote.go
parent6f1d1e00a7c615209cf6b25e314d033bda3b5d09 (diff)
downloadgo-git-58fe211f1b0e4863b425542d2fad15803276fd66.tar.gz
format: packfile fix ReadObjectAt without decode
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