Pointer where to store the OID of the newly created tag
Repository where to store the tag
Name for the tag
Object to which this tag points. This object must belong to the given repo.
Signature of the tagger for this tag, and of the tagging time
Full message for this tag
0 on success or an error code
Create a new tag in the object database pointing to a git_object
The message will not be cleaned up. This can be achieved through git_message_prettify().