summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarlos Martín Nieto <carlos@cmartin.tk>2011-09-30 06:26:29 +0200
committerCarlos Martín Nieto <carlos@cmartin.tk>2011-09-30 06:28:22 +0200
commitc36280a036625fd806785ee7376ea761a4bd977e (patch)
treebaebe3947551871727c733df834a49406fffdceb
parent6c8b458dccec1a4c81825d9c0777232540abac06 (diff)
downloadlibgit2-c36280a036625fd806785ee7376ea761a4bd977e.tar.gz
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>
-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);