summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRob Rix <rob.rix@github.com>2014-04-01 16:37:19 -0400
committerRob Rix <rob.rix@github.com>2014-04-01 16:37:19 -0400
commitbb439de039dac456d4d99eb0a03d1914a984b27f (patch)
treea89988d45d3b57e93c8cc9c63d29fc7bf674c2d5
parentf28e4c97b38c1ec60dc6ce6e5306067ad24aeb8e (diff)
downloadlibgit2-bb439de039dac456d4d99eb0a03d1914a984b27f.tar.gz
Correct a stale reference to GIT_EBAREINDEX
-rw-r--r--include/git2/index.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/git2/index.h b/include/git2/index.h
index ae919e133..dad4234d9 100644
--- a/include/git2/index.h
+++ b/include/git2/index.h
@@ -159,7 +159,7 @@ typedef enum {
*
* 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.
+ * fail with the GIT_ERROR error code.
*
* If you need to access the index of an actual repository,
* use the `git_repository_index` wrapper.