Creates a new iterator for notes
The iterator must be freed manually by the user.
pointer to the iterator
repository where to look up the note
canonical name of the reference to use (optional); defaults to "refs/notes/commits"
0 or an error code
See Implementation
Creates a new iterator for notes
The iterator must be freed manually by the user.