Commit 351733128ca766d1fe73ca0f299b08725342574a

Russell Belfer 2013-07-14T15:16:08

Merge pull request #1727 from alindeman/lookup-object-doc-fix Fixes return type documentation

1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/include/git2/object.h b/include/git2/object.h
index b91b04d..f74f3df 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,