libgit2

git_tag_target

Version:

Get the tagged object of a tag

This method performs a repository lookup for the given object and returns it

Signature

int git_tag_target(git_object **target, git_tag *t);

Parameters

In
target

pointer where to store the target

In
t

Returns

int

0 on success; error code otherwise

Versions