libgit2

git_note_next

Version:

Returns the current item (note_id and annotated_id) and advance the iterator internally to the next value

The notes must not be freed manually by the user.

Signature

int git_note_next(git_oid *note_id, git_oid *annotated_id, git_note_iterator *it);

Parameters

In
note_id

id of blob containing the message

In
annotated_id

id of the git object being annotated

In
it

pointer to the iterator

Returns

int

0 (no error), GIT_ITEROVER (iteration is done) or an error code (negative value)

Versions