summaryrefslogtreecommitdiff
path: root/src
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
parentfe3bcf7d7a1950d430a043a2ae11b81d231d6b1c (diff)
downloadlibgit2-4fbd1c007e6c72b32c0dd2a29036a5670f85120a.tar.gz
refs: git_reference_listall -> git_reference_list
Diffstat (limited to 'src')
-rw-r--r--src/fetch.c2
-rw-r--r--src/refs.c2
-rw-r--r--src/transports/local.c2
3 files changed, 3 insertions, 3 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)
diff --git a/src/refs.c b/src/refs.c
index 28e8f786b..9ba09249c 100644
--- a/src/refs.c
+++ b/src/refs.c
@@ -1518,7 +1518,7 @@ static int cb__reflist_add(const char *ref, void *data)
return git_vector_insert((git_vector *)data, git__strdup(ref));
}
-int git_reference_listall(
+int git_reference_list(
git_strarray *array,
git_repository *repo,
unsigned int list_flags)
diff --git a/src/transports/local.c b/src/transports/local.c
index 5dc350103..f074a3478 100644
--- a/src/transports/local.c
+++ b/src/transports/local.c
@@ -91,7 +91,7 @@ static int store_refs(transport_local *t)
assert(t);
- if (git_reference_listall(&ref_names, t->repo, GIT_REF_LISTALL) < 0 ||
+ if (git_reference_list(&ref_names, t->repo, GIT_REF_LISTALL) < 0 ||
git_vector_init(&t->refs, (unsigned int)ref_names.count, NULL) < 0)
goto on_error;