Fill a list with all the references that can be found in a repository.
The listed references may be filtered by type, or using
a bitwise OR of several types. Use the magic value
GIT_REF_LISTALL
to obtain all references, including
packed ones.
The string array will be filled with the names of all
references; these values are owned by the user and
should be free'd manually when no longer needed, using
git_strarray_free
.
Pointer to a git_strarray structure where the reference names will be stored
Filtering flags for the reference listing.
GIT_SUCCESS or an error code