Repository where to find the notes.
Reference to read from (optional); defaults to "refs/notes/commits".
Callback to invoke per found annotation. Return non-zero to stop looping.
Extra parameter to callback function.
0 on success, non-zero callback return value, or error code
Loop over all the notes within a specified namespace and issue a callback for each one.