Give the correct name for the function in the doc.

Per @carlosmn, git_index_add is now named git_index_add_bypath.
This commit is contained in:
Rob Rix 2014-04-02 08:02:43 -04:00
parent bb439de039
commit ddc66e27b6

View File

@ -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_ERROR 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.