From 65427f64599e9383ab926aed75fc02f2db32022d Mon Sep 17 00:00:00 2001 From: Máximo Cuadros Date: Mon, 5 Sep 2016 07:59:20 +0200 Subject: core: ObjectStorage.Begin and TxObjectStorage --- remote.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'remote.go') diff --git a/remote.go b/remote.go index f388d87..2605d39 100644 --- a/remote.go +++ b/remote.go @@ -163,8 +163,8 @@ func (r *Remote) buildRequest( func (r *Remote) updateObjectStorage(reader io.Reader) error { stream := packfile.NewStream(reader) - d := packfile.NewDecoder(stream) - return d.Decode(r.s.ObjectStorage()) + d := packfile.NewDecoder(stream, r.s.ObjectStorage()) + return d.Decode() } func (r *Remote) updateLocalReferenceStorage(specs []config.RefSpec, refs []*core.Reference) error { -- cgit