summaryrefslogtreecommitdiff
path: root/include/git2/notes.h
diff options
context:
space:
mode:
authorCarlos Martín Nieto <cmn@dwim.me>2014-01-24 11:18:51 +0100
committerCarlos Martín Nieto <cmn@dwim.me>2014-01-24 11:18:51 +0100
commitd0a3de720e085d335d9ad46dc00a23dd03eda793 (patch)
tree251fc381646f11e7bbac99046b81ec419c65b446 /include/git2/notes.h
parentca55fc6356a5edd838ca03b82f3601bd94e8d750 (diff)
downloadlibgit2-d0a3de720e085d335d9ad46dc00a23dd03eda793.tar.gz
note: rename the id getter to git_note_id()
This was left over when we did the general switch.
Diffstat (limited to 'include/git2/notes.h')
-rw-r--r--include/git2/notes.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/include/git2/notes.h b/include/git2/notes.h
index 0cb6ce5f1..98eb2aef3 100644
--- a/include/git2/notes.h
+++ b/include/git2/notes.h
@@ -106,12 +106,12 @@ GIT_EXTERN(const char *) git_note_message(const git_note *note);
/**
- * Get the note object OID
+ * Get the note object's id
*
* @param note the note
- * @return the note object OID
+ * @return the note object's id
*/
-GIT_EXTERN(const git_oid *) git_note_oid(const git_note *note);
+GIT_EXTERN(const git_oid *) git_note_id(const git_note *note);
/**
* Add a note for an object