From ddc66e27b605cdfd0edf25af5cf7fb4924fb80e1 Mon Sep 17 00:00:00 2001 From: Rob Rix Date: Wed, 2 Apr 2014 08:02:43 -0400 Subject: [PATCH] Give the correct name for the function in the doc. Per @carlosmn, git_index_add is now named git_index_add_bypath. --- include/git2/index.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/git2/index.h b/include/git2/index.h index dad4234d9..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_ERROR 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.