diff options
Diffstat (limited to 'include/git2/config.h')
-rw-r--r-- | include/git2/config.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/include/git2/config.h b/include/git2/config.h index 4e10a5c7a..9ae54f112 100644 --- a/include/git2/config.h +++ b/include/git2/config.h @@ -58,7 +58,14 @@ GIT_EXTERN(int) git_config_open_bare(git_config **cfg_out, const char *path); GIT_EXTERN(int) git_config_open_global(git_config **cfg); /** + * Add a config backend to an existing instance * + * Note that the configuration will call the backend's ->free() + * function. + * + * @param cfg the configuration to add the backend to + * @param backend the backend to add + * @param priority the priority the backend should have */ GIT_EXTERN(int) git_config_add_backend(git_config *cfg, git_config_backend *backend, int priority); |