Skip to content
Browse files

Fix examples/general.c compilation

git_reference_listall() -> git reference_list()
  • Loading branch information...
1 parent 7a361e9 commit ab4aa138ada1b088cdaa7e20d843011aa48c1659 @scottjg scottjg committed May 20, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 examples/general.c
2 examples/general.c
@@ -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;

0 comments on commit ab4aa13

Please sign in to comment.
Something went wrong with that request. Please try again.