From f44cbec4799538b201c5e14419fac9cc1544882e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Carlos=20Mart=C3=ADn=20Nieto?= Date: Tue, 17 May 2011 14:59:23 +0200 Subject: [PATCH] Add documentation for git_config_add_backend --- include/git2/config.h | 7 +++++++ 1 file changed, 7 insertions(+) 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);