Commit c36280a036625fd806785ee7376ea761a4bd977e

Carlos Martín Nieto 2011-09-30T06:26:29

repository: export git_repository_config_autoload Take the opportunity to finish the comment about this function. Signed-off-by: Carlos Martín Nieto <carlos@cmartin.tk>

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
diff --git a/include/git2/repository.h b/include/git2/repository.h
index b1fb5db..161826b 100644
--- a/include/git2/repository.h
+++ b/include/git2/repository.h
@@ -319,12 +319,13 @@ GIT_EXTERN(int) git_repository_config(git_config **out,
  *
  * A wrapper around `git_repository_config` that tries to guess where
  * the global and system config files are located. No error is
- * reported if either of these files
+ * reported if either of these files are missing at the guessed
+ * locations.
  *
  * @param out the repository's configuration
  * @param repo the repository for which to get the config
  */
-int git_repository_config_autoload(
+GIT_EXTERN(int) git_repository_config_autoload(
 		git_config **out,
 		git_repository *repo);