summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRob Rix <rob.rix@github.com>2014-04-02 08:02:43 -0400
committerRob Rix <rob.rix@github.com>2014-04-02 08:02:43 -0400
commitddc66e27b605cdfd0edf25af5cf7fb4924fb80e1 (patch)
treed3d869555ef716dde78a8d480f9e5b858bd3fe9e
parentbb439de039dac456d4d99eb0a03d1914a984b27f (diff)
downloadlibgit2-fix-memory-index-doc-comment.tar.gz
Give the correct name for the function in the doc.fix-memory-index-doc-comment
Per @carlosmn, git_index_add is now named git_index_add_bypath.
-rw-r--r--include/git2/index.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/git2/index.h b/include/git2/index.h
index dad4234d9..9a7ad28a6 100644
--- a/include/git2/index.h
+++ b/include/git2/index.h
@@ -158,8 +158,8 @@ typedef enum {
* to back it.
*
* Since there is no ODB or working directory behind this index,
- * any Index methods which rely on these (e.g. index_add) will
- * fail with the GIT_ERROR error code.
+ * any Index methods which rely on these (e.g. index_add_bypath)
+ * will fail with the GIT_ERROR error code.
*
* If you need to access the index of an actual repository,
* use the `git_repository_index` wrapper.