Commit 22408f4d5f4204453ac592d4cbb878b5e2584ff7

Josh Triplett 2012-08-12T05:53:30

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 b4839be..cbced77 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
  */