Skip to content

Commit d43d490

Browse files
authored
Merge pull request libgit2#5419 from lhchavez/fix-git_index_add_from_buffer-docs
index: Update the documentation for git_index_add_from_buffer()
2 parents d60bf00 + cff4ca2 commit d43d490

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

include/git2/index.h

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -555,8 +555,7 @@ GIT_EXTERN(int) git_index_add_bypath(git_index *index, const char *path);
555555
*
556556
* If a previous index entry exists that has the same path as the
557557
* given 'entry', it will be replaced. Otherwise, the 'entry' will be
558-
* added. The `id` and the `file_size` of the 'entry' are updated with the
559-
* real value of the blob.
558+
* added.
560559
*
561560
* This forces the file to be added to the index, not looking
562561
* at gitignore rules. Those rules can be evaluated through

0 commit comments

Comments
 (0)