Lookup a tag object from the repository.
pointer to the looked up tag
the repo to use when locating the tag.
identity of the tag to locate.
0 or an error code