diff options
Diffstat (limited to 'object/fetch')
| -rw-r--r-- | object/fetch/tag.go | 4 |
1 files changed, 2 insertions, 2 deletions
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 |
