summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrick Steinhardt <ps@pks.im>2020-06-17 17:51:19 +0200
committerGitHub <noreply@github.com>2020-06-17 17:51:19 +0200
commitd43d490c388f7279bceb85e07159aa386590f76b (patch)
treed9afd59928fb6ad82fb14615b9d1e9b6b2ddf31c
parentd60bf0022e4d51c13f9395b7668e9f6ce389bf25 (diff)
parentcff4ca26de9780cc30d00671d12536c2baf60fd9 (diff)
downloadlibgit2-d43d490c388f7279bceb85e07159aa386590f76b.tar.gz
Merge pull request #5419 from lhchavez/fix-git_index_add_from_buffer-docs
index: Update the documentation for git_index_add_from_buffer()
-rw-r--r--include/git2/index.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/include/git2/index.h b/include/git2/index.h
index 8723aa636..314135109 100644
--- a/include/git2/index.h
+++ b/include/git2/index.h
@@ -555,8 +555,7 @@ GIT_EXTERN(int) git_index_add_bypath(git_index *index, const char *path);
*
* If a previous index entry exists that has the same path as the
* given 'entry', it will be replaced. Otherwise, the 'entry' will be
- * added. The `id` and the `file_size` of the 'entry' are updated with the
- * real value of the blob.
+ * added.
*
* This forces the file to be added to the index, not looking
* at gitignore rules. Those rules can be evaluated through