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);