summaryrefslogtreecommitdiff
path: root/include/git2
diff options
context:
space:
mode:
authorVicent Martí <tanoku@gmail.com>2011-06-08 08:11:26 -0700
committerVicent Martí <tanoku@gmail.com>2011-06-08 08:11:26 -0700
commite3f56a2b571483e7cf70d324b61f0681bdda62b8 (patch)
tree2f301e19b5dd7ce3b62ce08845f919a08230d303 /include/git2
parent4e1543ff6e838d6bbf8e36ff6b75f6bb251182b2 (diff)
parent1c68d27d07a03b874e98f0c8eccfc7602f948567 (diff)
downloadlibgit2-e3f56a2b571483e7cf70d324b61f0681bdda62b8.tar.gz
Merge pull request #216 from glesserd/development
git_tag_create{,_o,_frombuffer} correction and improvement
Diffstat (limited to 'include/git2')
-rw-r--r--include/git2/tag.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/include/git2/tag.h b/include/git2/tag.h
index 3f82ce46b..49836a1f5 100644
--- a/include/git2/tag.h
+++ b/include/git2/tag.h
@@ -152,7 +152,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
*