From 7950430f0ec6542dbf4feafa7bec733f5eeaac34 Mon Sep 17 00:00:00 2001 From: Runxi Yu Date: Mon, 8 Jun 2026 07:34:28 +0000 Subject: object/fetch: Fix tag's error import --- object/fetch/tag.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'object/fetch') diff --git a/object/fetch/tag.go b/object/fetch/tag.go index 0b01a94c..326244d8 100644 --- a/object/fetch/tag.go +++ b/object/fetch/tag.go @@ -1,7 +1,7 @@ package fetch import ( - giterrors "lindenii.org/go/furgit/errors" + "lindenii.org/go/furgit/errs" oid "lindenii.org/go/furgit/object/id" "lindenii.org/go/furgit/object/stored" "lindenii.org/go/furgit/object/tag" @@ -19,7 +19,7 @@ func (fetcher *Fetcher) ExactTag(id oid.ObjectID) (*stored.Stored[*tag.Tag], err tag, ok := parsed.(*tag.Tag) if !ok { - return nil, &giterrors.ObjectTypeError{OID: id, Got: parsed.ObjectType(), Want: typ.TypeTag} + return nil, &errs.ObjectTypeError{OID: id, Got: parsed.ObjectType(), Want: typ.TypeTag} } return stored.New(id, tag), nil -- cgit v1.3.1-10-gc9f91