summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorRussell Belfer <rb@github.com>2012-08-23 09:20:17 -0700
committerRussell Belfer <rb@github.com>2012-08-23 09:20:17 -0700
commite9ca852e4d77e1b1723a2dceddfa2037677e2fb4 (patch)
treebb1d939d73ce2c2bd9d3001c643bcf28602a8271 /include
parent85bd17462662905dfdf9247b262480280a616ad4 (diff)
downloadlibgit2-e9ca852e4d77e1b1723a2dceddfa2037677e2fb4.tar.gz
Fix warnings and merge issues on Win64
Diffstat (limited to 'include')
-rw-r--r--include/git2/repository.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/git2/repository.h b/include/git2/repository.h
index a986859d4..f520d5433 100644
--- a/include/git2/repository.h
+++ b/include/git2/repository.h
@@ -466,6 +466,11 @@ GIT_EXTERN(void) git_repository_set_index(git_repository *repo, git_index *index
*
* Use this function to get the contents of this file. Don't forget to
* remove the file after you create the commit.
+ *
+ * @param buffer Buffer to write data into or NULL to just read required size
+ * @param len Length of buffer in bytes
+ * @param repo Repository to read prepared message from
+ * @return Bytes written to buffer, GIT_ENOTFOUND if no message, or -1 on error
*/
GIT_EXTERN(int) git_repository_message(char *buffer, size_t len, git_repository *repo);