Commit f44cbec4 by Carlos Martín Nieto

Add documentation for git_config_add_backend

parent 32234541
...@@ -58,7 +58,14 @@ GIT_EXTERN(int) git_config_open_bare(git_config **cfg_out, const char *path); ...@@ -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); 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); GIT_EXTERN(int) git_config_add_backend(git_config *cfg, git_config_backend *backend, int priority);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment