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-14 02:45:05 +0400
committerCarlos Martín Nieto <cmn@dwim.me>2013-08-14 02:45:05 +0400
commitf4be8209afd3cc996667196a1e437aac21485691 (patch)
tree9501c07058c7a1b6b8cafc3208346e80274e46cb /tests-clar/config
parent43e5dda70249ede020a57f3888356a0dcb96da48 (diff)
config: don't special-case the multivar iterator
Build it on top of the normal iterator instead, which lets use re-use a lot of code.
Diffstat (limited to 'tests-clar/config')
-rw-r--r--tests-clar/config/multivar.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests-clar/config/multivar.c b/tests-clar/config/multivar.c
index afb993c18..0d552d65e 100644
--- a/tests-clar/config/multivar.c
+++ b/tests-clar/config/multivar.c
@@ -76,7 +76,7 @@ static void check_get_multivar(git_config *cfg, int expected)
git_config_entry *entry;
int n = 0;
- cl_git_pass(git_config_get_multivar(&iter, cfg, _name, NULL));
+ cl_git_pass(git_config_multivar_iterator_new(&iter, cfg, _name, NULL));
while (git_config_next(&entry, iter) == 0)
n++;