diff options
Diffstat (limited to 'tests/online/fetchhead.c')
-rw-r--r-- | tests/online/fetchhead.c | 2 |
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) { |