summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVicent Marti <vicent@github.com>2014-04-02 14:13:01 +0200
committerVicent Marti <vicent@github.com>2014-04-02 14:13:01 +0200
commitbb63baea5f42415c1d9e115ddca4197cdbe040a6 (patch)
treee81fbfdd822b04c549a35cd6375f686d52761fff
parent5b9eac32c39358d8d65fbeb2ad7c5fd366532557 (diff)
parentddc66e27b605cdfd0edf25af5cf7fb4924fb80e1 (diff)
downloadlibgit2-bb63baea5f42415c1d9e115ddca4197cdbe040a6.tar.gz
Merge pull request #2231 from libgit2/fix-memory-index-doc-comment
Correct a stale reference to GIT_EBAREINDEX
-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 ae919e133..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_EBAREINDEX 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.