summaryrefslogtreecommitdiff
path: root/include/git2/remote.h
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 /include/git2/remote.h
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 'include/git2/remote.h')
-rw-r--r--include/git2/remote.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/git2/remote.h b/include/git2/remote.h
index 717830f8b..0d7fd230f 100644
--- a/include/git2/remote.h
+++ b/include/git2/remote.h
@@ -94,7 +94,7 @@ GIT_EXTERN(int) git_remote_create_anonymous(
* @param name the remote's name
* @return 0, GIT_ENOTFOUND, GIT_EINVALIDSPEC or an error code
*/
-GIT_EXTERN(int) git_remote_load(git_remote **out, git_repository *repo, const char *name);
+GIT_EXTERN(int) git_remote_lookup(git_remote **out, git_repository *repo, const char *name);
/**
* Save a remote to its repository's configuration