diff options
author | nulltoken <emeric.fermas@gmail.com> | 2013-05-18 16:52:16 +0200 |
---|---|---|
committer | nulltoken <emeric.fermas@gmail.com> | 2013-05-21 19:32:59 +0200 |
commit | b81cc1d63bb42dde993979cda49550d2c224d9ed (patch) | |
tree | 0df1056d64b59f7a3b055d3cb058edd8397c9ad8 /src | |
parent | 5b3d52ce37100c1d63229d195041fac3e6f89d28 (diff) | |
download | libgit2-b81cc1d63bb42dde993979cda49550d2c224d9ed.tar.gz |
tag: Introduce git_tag_annotation_create()
Diffstat (limited to 'src')
-rw-r--r-- | src/tag.c | 13 |
1 files changed, 13 insertions, 0 deletions
@@ -291,6 +291,19 @@ int git_tag_create( return git_tag_create__internal(oid, repo, tag_name, target, tagger, message, allow_ref_overwrite, 1); } +int git_tag_annotation_create( + git_oid *oid, + git_repository *repo, + const char *tag_name, + const git_object *target, + const git_signature *tagger, + const char *message) +{ + assert(oid && repo && tag_name && target && tagger && message); + + return write_tag_annotation(oid, repo, tag_name, target, tagger, message); +} + int git_tag_create_lightweight( git_oid *oid, git_repository *repo, |