summaryrefslogtreecommitdiff
path: root/src/notes.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/notes.c')
-rw-r--r--src/notes.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/notes.c b/src/notes.c
index 9e6722e75..e533478b1 100644
--- a/src/notes.c
+++ b/src/notes.c
@@ -417,6 +417,12 @@ int git_note_remove(git_repository *repo, const char *notes_ref,
return error;
}
+int git_note_default_ref(const char **out, git_repository *repo)
+{
+ assert(repo);
+ return note_get_default_ref(out, repo);
+}
+
const char * git_note_message(git_note *note)
{
assert(note);