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_out, const git_tag *tag);

Parameters

In
target_out

pointer where to store the target

In
tag

a previously loaded tag.

Returns

int

0 or an error code

Versions