From d2c4023832e26d3fe3f77c9fa8581588ea812cc2 Mon Sep 17 00:00:00 2001 From: "Gabriel A. Giovanini" Date: Sat, 15 Jun 2024 18:15:22 +0200 Subject: fix: Add support lightweight tags For now all tags are read as reference. That cause tags to not carry its message body by default but it will be added in the future. For now simple tags will do. --- pkg/handler/git/handler.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'pkg/handler') diff --git a/pkg/handler/git/handler.go b/pkg/handler/git/handler.go index b4c7c54..4809362 100644 --- a/pkg/handler/git/handler.go +++ b/pkg/handler/git/handler.go @@ -33,7 +33,7 @@ type ( GetHead(name string) (*plumbing.Reference, error) GetTree(name, ref, path string) (*object.Tree, error) GetFileContent(name, ref, path string) (string, error) - ListTags(name string) ([]*object.Tag, error) + ListTags(name string) ([]*plumbing.Reference, error) ListBranches(name string) ([]*plumbing.Reference, error) } -- cgit v1.2.3