diff options
author | Máximo Cuadros <mcuadros@gmail.com> | 2016-09-05 07:59:20 +0200 |
---|---|---|
committer | Máximo Cuadros <mcuadros@gmail.com> | 2016-09-05 07:59:20 +0200 |
commit | 65427f64599e9383ab926aed75fc02f2db32022d (patch) | |
tree | 5c81c00bc9dcfb54e0c6d0038ab2cbd8cddde389 /blame_test.go | |
parent | 440cfd96cf88ffc9d04bbd32ec8a3b1afb42144c (diff) | |
download | go-git-65427f64599e9383ab926aed75fc02f2db32022d.tar.gz |
core: ObjectStorage.Begin and TxObjectStorage
Diffstat (limited to 'blame_test.go')
-rw-r--r-- | blame_test.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/blame_test.go b/blame_test.go index 61d505a..a8f7ae1 100644 --- a/blame_test.go +++ b/blame_test.go @@ -31,8 +31,8 @@ func (s *BlameCommon) SetUpSuite(c *C) { stream := packfile.NewStream(bytes.NewReader(data)) - d := packfile.NewDecoder(stream) - err = d.Decode(r.s.ObjectStorage()) + d := packfile.NewDecoder(stream, r.s.ObjectStorage()) + err = d.Decode() c.Assert(err, IsNil) c.Assert(f.Close(), IsNil) |