From b1914c36511af468366482c4dc8974bd1c2995fc Mon Sep 17 00:00:00 2001 From: Russell Belfer Date: Mon, 12 May 2014 10:24:46 -0700 Subject: Minor fixes for warnings and error propagation --- include/git2/repository.h | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'include/git2') diff --git a/include/git2/repository.h b/include/git2/repository.h index 0f7119b76..037cb3f96 100644 --- a/include/git2/repository.h +++ b/include/git2/repository.h @@ -418,7 +418,11 @@ GIT_EXTERN(int) git_repository_config(git_config **out, git_repository *repo); * Get a snapshot of the repository's configuration * * Convenience function to take a snapshot from the repository's - * configuration. + * configuration. The contents of this snapshot will not change, + * even if the underlying config files are modified. + * + * The configuration file must be freed once it's no longer + * being used by the user. * * @param out Pointer to store the loaded configuration * @param repo the repository -- cgit v1.2.1