diff options
author | Vicent Marti <tanoku@gmail.com> | 2011-06-01 18:23:36 +0200 |
---|---|---|
committer | Vicent Marti <tanoku@gmail.com> | 2011-06-01 18:45:23 +0200 |
commit | ef5ffed39a91e8e645ed77f52ec862d47b081e9c (patch) | |
tree | 2b863c75b9c509ff29cb7b80c2ba75c75c2679e6 /include/git2/object.h | |
parent | 4191d529245084fa92e869aadda72dd740403d3a (diff) | |
download | libgit2-ef5ffed39a91e8e645ed77f52ec862d47b081e9c.tar.gz |
object: Update documentation
Diffstat (limited to 'include/git2/object.h')
-rw-r--r-- | include/git2/object.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/include/git2/object.h b/include/git2/object.h index 16dde8e56..7fca1c988 100644 --- a/include/git2/object.h +++ b/include/git2/object.h @@ -77,6 +77,12 @@ GIT_EXTERN(git_otype) git_object_type(const git_object *obj); /** * Get the repository that owns this object * + * Freeing or calling `git_repository_close` on the + * returned pointer will invalidate the actual object. + * + * Any other operation may be run on the repository without + * affecting the object. + * * @param obj the object * @return the repository who owns this object */ |