summaryrefslogtreecommitdiff
path: root/include/git2/notes.h
diff options
context:
space:
mode:
authorEdward Thomson <ethomson@edwardthomson.com>2014-07-21 10:47:01 -0400
committerEdward Thomson <ethomson@microsoft.com>2014-10-26 22:59:29 -0400
commitbad4937ea50a8874598171c7ccb3d3443f1daf7b (patch)
treefddf82c84fd56243ddf1678b4394eddc05651c09 /include/git2/notes.h
parenta612a25fa673447e874407fd2d9501998885d392 (diff)
downloadlibgit2-bad4937ea50a8874598171c7ccb3d3443f1daf7b.tar.gz
Introduce `git_note_author`, `git_note_committer`
Diffstat (limited to 'include/git2/notes.h')
-rw-r--r--include/git2/notes.h17
1 files changed, 17 insertions, 0 deletions
diff --git a/include/git2/notes.h b/include/git2/notes.h
index 98eb2aef3..1a7794a5c 100644
--- a/include/git2/notes.h
+++ b/include/git2/notes.h
@@ -97,6 +97,23 @@ GIT_EXTERN(int) git_note_read(
const git_oid *oid);
/**
+ * Get the note author
+ *
+ * @param note the note
+ * @return the author
+ */
+GIT_EXTERN(const git_signature *) git_note_author(const git_note *note);
+
+/**
+ * Get the note committer
+ *
+ * @param note the note
+ * @return the committer
+ */
+GIT_EXTERN(const git_signature *) git_note_committer(const git_note *note);
+
+
+/**
* Get the note message
*
* @param note the note