diff options
| author | nulltoken <emeric.fermas@gmail.com> | 2011-03-30 22:30:55 +0200 |
|---|---|---|
| committer | nulltoken <emeric.fermas@gmail.com> | 2011-03-30 22:30:55 +0200 |
| commit | bf4c39f92958b42f626fbf1d7fd95a74e62f3409 (patch) | |
| tree | 323c9fb96add3bc3408a2dc7fdb86ad7ae7d3798 /include/git2 | |
| parent | 6d3160148b7220e78e2898aaadb457edcec4c846 (diff) | |
| download | libgit2-bf4c39f92958b42f626fbf1d7fd95a74e62f3409.tar.gz | |
Prevent tag_create() from creating a conflicting reference
Diffstat (limited to 'include/git2')
| -rw-r--r-- | include/git2/tag.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/git2/tag.h b/include/git2/tag.h index ee92cd5c2..b83d44733 100644 --- a/include/git2/tag.h +++ b/include/git2/tag.h @@ -140,7 +140,8 @@ GIT_EXTERN(const char *) git_tag_message(git_tag *t); * @param repo Repository where to store the tag * * @param tag_name Name for the tag; this name is validated - * for consistency + * for consistency. It should also not conflict with an + * already existing tag name * * @param target OID to which this tag points; note that no * validation is done on this OID. Use the _o version of this |
