mirror of
https://git.proxmox.com/git/libgit2
synced 2025-05-06 01:45:11 +00:00
Set the oid when a tag already exists.
When a tag already exists, it can be useful to directly have the oid of the existed tag, just after trying to add it.
This commit is contained in:
parent
448c4d012b
commit
23123151e0
@ -135,7 +135,9 @@ GIT_EXTERN(const char *) git_tag_message(git_tag *t);
|
||||
* Create a new tag in the repository from an OID
|
||||
*
|
||||
* @param oid Pointer where to store the OID of the
|
||||
* newly created tag
|
||||
* newly created tag. If the tag already exists, this parameter
|
||||
* will be the oid of the existed tag, and the function will
|
||||
* return a GIT_EEXISTS error code.
|
||||
*
|
||||
* @param repo Repository where to store the tag
|
||||
*
|
||||
|
Loading…
Reference in New Issue
Block a user