summaryrefslogtreecommitdiff
path: root/src/fetch.c
diff options
context:
space:
mode:
authorVicent Martí <tanoku@gmail.com>2012-05-17 20:35:48 +0200
committerVicent Martí <tanoku@gmail.com>2012-05-18 01:26:16 +0200
commit4fbd1c007e6c72b32c0dd2a29036a5670f85120a (patch)
tree1c35a3fe06ffe4274190a9ab3c0ffb5eade19aac /src/fetch.c
parentfe3bcf7d7a1950d430a043a2ae11b81d231d6b1c (diff)
downloadlibgit2-4fbd1c007e6c72b32c0dd2a29036a5670f85120a.tar.gz
refs: git_reference_listall -> git_reference_list
Diffstat (limited to 'src/fetch.c')
-rw-r--r--src/fetch.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/fetch.c b/src/fetch.c
index 08c789ddb..c92cf4ef5 100644
--- a/src/fetch.c
+++ b/src/fetch.c
@@ -165,7 +165,7 @@ int git_fetch_setup_walk(git_revwalk **out, git_repository *repo)
unsigned int i;
git_reference *ref;
- if (git_reference_listall(&refs, repo, GIT_REF_LISTALL) < 0)
+ if (git_reference_list(&refs, repo, GIT_REF_LISTALL) < 0)
return -1;
if (git_revwalk_new(&walk, repo) < 0)