Commit a6ee6201850974b8089caa77e6b4bf606f265d3c

Vicent Martí 2012-08-13T21:02:35

Merge pull request #870 from joshtriplett/fix-note_create-docs git_note_oid: Fix the documentation to reference parameters using the correct names

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
diff --git a/include/git2/notes.h b/include/git2/notes.h
index 8eb34f8..bde426e 100644
--- a/include/git2/notes.h
+++ b/include/git2/notes.h
@@ -54,13 +54,13 @@ GIT_EXTERN(const git_oid *) git_note_oid(git_note *note);
 /**
  * Add a note for an object
  *
- * @param oid pointer to store the OID (optional); NULL in case of error
+ * @param out pointer to store the OID (optional); NULL in case of error
  * @param repo the Git repository
  * @param author signature of the notes commit author
  * @param committer signature of the notes commit committer
  * @param notes_ref OID reference to update (optional); defaults to "refs/notes/commits"
  * @param oid The OID of the object
- * @param oid The note to add for object oid
+ * @param note The note to add for object oid
  *
  * @return 0 or an error code
  */