Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/libgit2.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarlos Martín Nieto <cmn@dwim.me>2013-08-08 15:41:18 +0400
committerCarlos Martín Nieto <cmn@dwim.me>2013-08-08 15:57:01 +0400
commit4efa32903adf131631d283c914e0a5bf29c49e4d (patch)
treea02ddafb762d78e22ce21c216fb465b31108cc44 /src/remote.c
parent84fec6f628b8c82a70c0aff5dc6a47d1cdb6fbf0 (diff)
config: get_multivar -> get_multivar_foreach
The plain function will return an iterator, so move this one out of the way.
Diffstat (limited to 'src/remote.c')
-rw-r--r--src/remote.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/remote.c b/src/remote.c
index 158f3e938..003fadaa3 100644
--- a/src/remote.c
+++ b/src/remote.c
@@ -217,7 +217,7 @@ static int get_optional_config(
return -1;
if (cb != NULL)
- error = git_config_get_multivar(config, key, NULL, cb, payload);
+ error = git_config_get_multivar_foreach(config, key, NULL, cb, payload);
else
error = git_config_get_string(payload, config, key);