From 323d084635349bf9dbe7b29d1a20442a204ad2b1 Mon Sep 17 00:00:00 2001 From: Máximo Cuadros Date: Mon, 15 Oct 2018 12:25:40 +0200 Subject: teach ResolveRevision how to look up annotated tags, test MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Máximo Cuadros --- repository_test.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'repository_test.go') diff --git a/repository_test.go b/repository_test.go index 6959933..6c8014c 100644 --- a/repository_test.go +++ b/repository_test.go @@ -2071,8 +2071,7 @@ func (s *RepositorySuite) TestResolveRevision(c *C) { func (s *RepositorySuite) TestResolveRevisionAnnotated(c *C) { f := fixtures.ByURL("https://github.com/git-fixtures/tags.git").One() - sto, err := filesystem.NewStorage(f.DotGit()) - c.Assert(err, IsNil) + sto := filesystem.NewStorage(f.DotGit(), cache.NewObjectLRUDefault()) r, err := Open(sto, f.DotGit()) c.Assert(err, IsNil) -- cgit