diff options
author | Edward Thomson <ethomson@edwardthomson.com> | 2015-03-24 08:34:12 -0400 |
---|---|---|
committer | Edward Thomson <ethomson@edwardthomson.com> | 2015-03-24 08:34:12 -0400 |
commit | 95d1624b8d7dcda58527cb26b9e7c9c8b2af0d6a (patch) | |
tree | b0203c4ed70970b969451db5893480bef634e956 /include/git2/notes.h | |
parent | 5dcd2d6628dcebbb69860ccdd9b7e2ef9851a546 (diff) | |
parent | 385449b1df593440abcf6636c81eb5ea19b1d1a1 (diff) | |
download | libgit2-95d1624b8d7dcda58527cb26b9e7c9c8b2af0d6a.tar.gz |
Merge pull request #2947 from libgit2/cmn/notes-buf
note: use a git_buf to return the default namespace
Diffstat (limited to 'include/git2/notes.h')
-rw-r--r-- | include/git2/notes.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/git2/notes.h b/include/git2/notes.h index bb7c02dda..3a626cafd 100644 --- a/include/git2/notes.h +++ b/include/git2/notes.h @@ -183,12 +183,12 @@ GIT_EXTERN(void) git_note_free(git_note *note); /** * Get the default notes reference for a repository * - * @param out Pointer to the default notes reference + * @param out buffer in which to store the name of the default notes reference * @param repo The Git repository * * @return 0 or an error code */ -GIT_EXTERN(int) git_note_default_ref(const char **out, git_repository *repo); +GIT_EXTERN(int) git_note_default_ref(git_buf *out, git_repository *repo); /** * Loop over all the notes within a specified namespace |