Commit ddc66e27 by Rob Rix

Give the correct name for the function in the doc.

Per @carlosmn, git_index_add is now named git_index_add_bypath.
parent bb439de0
......@@ -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.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment