Commit ce78f39e27f384ec7169510aaa447d6d455931c8

Carlos Martín Nieto 2011-06-07T14:18:22

config: update the git_config_add_file documentation Signed-off-by: Carlos Martín Nieto <cmn@elego.de>

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
diff --git a/include/git2/config.h b/include/git2/config.h
index 78a1f62..fca9d9d 100644
--- a/include/git2/config.h
+++ b/include/git2/config.h
@@ -89,8 +89,8 @@ GIT_EXTERN(int) git_config_open_global(git_config **cfg);
  * 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 cfg the configuration to add the file to
+ * @param file the configuration source (file) to add
  * @param priority the priority the backend should have
  */
 GIT_EXTERN(int) git_config_add_file(git_config *cfg, git_config_file *file, int priority);