summaryrefslogtreecommitdiff
path: root/include/git2
diff options
context:
space:
mode:
authorRussell Belfer <rb@github.com>2013-07-14 15:16:08 -0700
committerRussell Belfer <rb@github.com>2013-07-14 15:16:08 -0700
commit351733128ca766d1fe73ca0f299b08725342574a (patch)
tree364c76407bc5f4083d8437e69a83e5e354fe09ec /include/git2
parent1662158cf98ce32827f3857fd9559a1b0e6223ed (diff)
parent960431c3808a98333aa9642424bcc7fef581b78c (diff)
downloadlibgit2-351733128ca766d1fe73ca0f299b08725342574a.tar.gz
Merge pull request #1727 from alindeman/lookup-object-doc-fix
Fixes return type documentation
Diffstat (limited to 'include/git2')
-rw-r--r--include/git2/object.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/git2/object.h b/include/git2/object.h
index b91b04dba..f74f3dfd1 100644
--- a/include/git2/object.h
+++ b/include/git2/object.h
@@ -36,7 +36,7 @@ GIT_BEGIN_DECL
* @param repo the repository to look up the object
* @param id the unique identifier for the object
* @param type the type of the object
- * @return a reference to the object
+ * @return 0 or an error code
*/
GIT_EXTERN(int) git_object_lookup(
git_object **object,