diff options
author | Carlos Martín Nieto <cmn@dwim.me> | 2014-11-08 13:25:51 +0100 |
---|---|---|
committer | Carlos Martín Nieto <cmn@dwim.me> | 2014-11-08 13:28:27 +0100 |
commit | 209425ce26d777794e9995f757656c7731df087e (patch) | |
tree | 5e4788483721b5f1e17c83c15873c36f47f64806 /examples/network/fetch.c | |
parent | 4e1b3b3b7186b017223b8302a51289ff92ccba25 (diff) | |
download | libgit2-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 'examples/network/fetch.c')
-rw-r--r-- | examples/network/fetch.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/network/fetch.c b/examples/network/fetch.c index ab78fc9bd..adde73c17 100644 --- a/examples/network/fetch.c +++ b/examples/network/fetch.c @@ -90,7 +90,7 @@ int fetch(git_repository *repo, int argc, char **argv) // Figure out whether it's a named remote or a URL printf("Fetching %s for repo %p\n", argv[1], repo); - if (git_remote_load(&remote, repo, argv[1]) < 0) { + if (git_remote_lookup(&remote, repo, argv[1]) < 0) { if (git_remote_create_anonymous(&remote, repo, argv[1], NULL) < 0) return -1; } |