summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--include/git2/repository.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/include/git2/repository.h b/include/git2/repository.h
index b1fb5db83..161826b26 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);