mirror of
https://git.proxmox.com/git/libgit2
synced 2025-05-28 04:29:42 +00:00
Merge pull request #2231 from libgit2/fix-memory-index-doc-comment
Correct a stale reference to GIT_EBAREINDEX
This commit is contained in:
commit
bb63baea5f
@ -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.
|
||||
|
Loading…
Reference in New Issue
Block a user