Commit ab4aa138ada1b088cdaa7e20d843011aa48c1659

Scott J. Goldman 2012-05-20T00:40:31

Fix examples/general.c compilation git_reference_listall() -> git reference_list()

1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/examples/general.c b/examples/general.c
index 4585a4a..5269785 100644
--- a/examples/general.c
+++ b/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;