libgit2

git_tag_create_o

Version:

Create a new tag in the repository from an existing git_object instance

This method replaces the target and target_type paremeters of git_tag_create by a single instance of a const git_object *, which is assured to be a proper object in the ODB and hence will create a valid tag

See

Signature

int git_tag_create_o(git_oid *oid, git_repository *repo, const char *tag_name, const git_object *target, const git_signature *tagger, const char *message);

Parameters

In
oid
const char *
In
tag_name
In
target
const char *
In
message

Returns

int

Versions