Fix examples/general.c compilation

git_reference_listall() -> git reference_list()
This commit is contained in:
Scott J. Goldman 2012-05-20 00:40:31 -07:00
parent 7a361e93f3
commit ab4aa138ad

View File

@ -392,7 +392,7 @@ int main (int argc, char** argv)
// Here we will implement something like `git for-each-ref` simply listing out all available
// references and the object SHA they resolve to.
git_strarray ref_list;
git_reference_listall(&ref_list, repo, GIT_REF_LISTALL);
git_reference_list(&ref_list, repo, GIT_REF_LISTALL);
const char *refname;
git_reference *ref;