Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/libgit2.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorScott J. Goldman <scottjgo@gmail.com>2012-05-20 11:40:31 +0400
committerScott J. Goldman <scottjgo@gmail.com>2012-05-20 11:40:31 +0400
commitab4aa138ada1b088cdaa7e20d843011aa48c1659 (patch)
tree9cdf1ce26f360ca74efe3f5af039dc8c01253cb9 /examples/general.c
parent7a361e93f39789e9523caeb3ef8754173165aab7 (diff)
Fix examples/general.c compilation
git_reference_listall() -> git reference_list()
Diffstat (limited to 'examples/general.c')
-rw-r--r--examples/general.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/general.c b/examples/general.c
index 4585a4af5..5269785f2 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;