diff options
author | nulltoken <emeric.fermas@gmail.com> | 2012-10-17 15:30:22 +0200 |
---|---|---|
committer | Ben Straub <bs@github.com> | 2012-10-19 19:36:22 -0700 |
commit | 0ae81fc479bf3cf7ed31b3e3b070de7990102f1d (patch) | |
tree | 822324b25c1617c04d5fde7c2c6f0e28a8fc9c0f /include/git2/index.h | |
parent | 2b7efe03406411dd8fe25bcc15b0783313097692 (diff) | |
download | libgit2-0ae81fc479bf3cf7ed31b3e3b070de7990102f1d.tar.gz |
index: remove read_tree() progress indicator
git_index_read_tree() was exposing a parameter to provide the user with
a progress indicator. Unfortunately, due to the recursive nature of the
tree walk, the maximum number of items to process was unknown. Thus,
the indicator was only counting processed entries, without providing
any information how the number of remaining items.
Diffstat (limited to 'include/git2/index.h')
-rw-r--r-- | include/git2/index.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/include/git2/index.h b/include/git2/index.h index 062932e1a..d8282e80f 100644 --- a/include/git2/index.h +++ b/include/git2/index.h @@ -343,10 +343,9 @@ GIT_EXTERN(int) git_index_entry_stage(const git_index_entry *entry); * * @param index an existing index object * @param tree tree to read - * @param stats structure that receives the total node count (may be NULL) * @return 0 or an error code */ -GIT_EXTERN(int) git_index_read_tree(git_index *index, git_tree *tree, git_indexer_stats *stats); +GIT_EXTERN(int) git_index_read_tree(git_index *index, git_tree *tree); /** @} */ GIT_END_DECL |