summaryrefslogtreecommitdiff
path: root/tests/online/fetchhead.c
diff options
context:
space:
mode:
authorCarlos Martín Nieto <cmn@dwim.me>2014-11-08 13:25:51 +0100
committerCarlos Martín Nieto <cmn@dwim.me>2014-11-08 13:28:27 +0100
commit209425ce26d777794e9995f757656c7731df087e (patch)
tree5e4788483721b5f1e17c83c15873c36f47f64806 /tests/online/fetchhead.c
parent4e1b3b3b7186b017223b8302a51289ff92ccba25 (diff)
downloadlibgit2-cmn/remote-lookup.tar.gz
remote: rename _load() to _lookup()cmn/remote-lookup
This brings it in line with the rest of the lookup functions.
Diffstat (limited to 'tests/online/fetchhead.c')
-rw-r--r--tests/online/fetchhead.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/online/fetchhead.c b/tests/online/fetchhead.c
index bd423bbb0..b0a80cd58 100644
--- a/tests/online/fetchhead.c
+++ b/tests/online/fetchhead.c
@@ -42,7 +42,7 @@ static void fetchhead_test_fetch(const char *fetchspec, const char *expected_fet
int equals = 0;
git_strarray array, *active_refs = NULL;
- cl_git_pass(git_remote_load(&remote, g_repo, "origin"));
+ cl_git_pass(git_remote_lookup(&remote, g_repo, "origin"));
git_remote_set_autotag(remote, GIT_REMOTE_DOWNLOAD_TAGS_AUTO);
if(fetchspec != NULL) {