diff options
| author | Carlos Martín Nieto <cmn@dwim.me> | 2013-08-14 00:45:05 +0200 |
|---|---|---|
| committer | Carlos Martín Nieto <cmn@dwim.me> | 2013-08-14 00:45:05 +0200 |
| commit | f4be8209afd3cc996667196a1e437aac21485691 (patch) | |
| tree | 9501c07058c7a1b6b8cafc3208346e80274e46cb /include/git2/config.h | |
| parent | 43e5dda70249ede020a57f3888356a0dcb96da48 (diff) | |
| download | libgit2-f4be8209afd3cc996667196a1e437aac21485691.tar.gz | |
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 'include/git2/config.h')
| -rw-r--r-- | include/git2/config.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/git2/config.h b/include/git2/config.h index 28216467b..f14415148 100644 --- a/include/git2/config.h +++ b/include/git2/config.h @@ -350,7 +350,7 @@ GIT_EXTERN(int) git_config_get_multivar_foreach(const git_config *cfg, const cha * @param regexp regular expression to filter which variables we're * interested in. Use NULL to indicate all */ -GIT_EXTERN(int) git_config_get_multivar(git_config_iterator **out, const git_config *cfg, const char *name, const char *regexp); +GIT_EXTERN(int) git_config_multivar_iterator_new(git_config_iterator **out, const git_config *cfg, const char *name, const char *regexp); /** * Return the current entry and advance the iterator |
