Commit bb63baea by Vicent Marti

Merge pull request #2231 from libgit2/fix-memory-index-doc-comment

Correct a stale reference to GIT_EBAREINDEX
parents 5b9eac32 ddc66e27
...@@ -158,8 +158,8 @@ typedef enum { ...@@ -158,8 +158,8 @@ typedef enum {
* to back it. * to back it.
* *
* Since there is no ODB or working directory behind this index, * Since there is no ODB or working directory behind this index,
* any Index methods which rely on these (e.g. index_add) will * any Index methods which rely on these (e.g. index_add_bypath)
* fail with the GIT_EBAREINDEX error code. * will fail with the GIT_ERROR error code.
* *
* If you need to access the index of an actual repository, * If you need to access the index of an actual repository,
* use the `git_repository_index` wrapper. * use the `git_repository_index` wrapper.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment