From bb439de039dac456d4d99eb0a03d1914a984b27f Mon Sep 17 00:00:00 2001 From: Rob Rix Date: Tue, 1 Apr 2014 16:37:19 -0400 Subject: [PATCH] Correct a stale reference to GIT_EBAREINDEX --- include/git2/index.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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.