Commit 7414acf5f97c0be1fec0504a61624be3eb814f2f

Etienne Samson 2017-01-23T12:28:02

parameter 'id' not found in the function declaration

1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/include/git2/tree.h b/include/git2/tree.h
index a38215f..4740b1f 100644
--- a/include/git2/tree.h
+++ b/include/git2/tree.h
@@ -381,7 +381,7 @@ GIT_EXTERN(int) git_treebuilder_write(
  *
  * @see git_treebuilder_write
  *
- * @param id Pointer to store the OID of the newly written tree
+ * @param oid Pointer to store the OID of the newly written tree
  * @param bld Tree builder to write
  * @param tree Shared buffer for writing the tree. Will be grown as necessary.
  * @return 0 or an error code