Fill a list with all the references that can be found in a repository.
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().
@param array Pointer to a git_strarray structure where
the reference names will be stored
@param repo Repository where to find the refs
@return 0 or an error code
Fill a list with all the references that can be found in a repository.
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().
@param array Pointer to a git_strarray structure where the reference names will be stored @param repo Repository where to find the refs @return 0 or an error code