]> git.proxmox.com Git - libgit2.git/commit - tests/index/read_tree.c
index: remove read_tree() progress indicator
authornulltoken <emeric.fermas@gmail.com>
Wed, 17 Oct 2012 13:30:22 +0000 (15:30 +0200)
committerBen Straub <bs@github.com>
Sat, 20 Oct 2012 02:36:22 +0000 (19:36 -0700)
commit0ae81fc479bf3cf7ed31b3e3b070de7990102f1d
tree822324b25c1617c04d5fde7c2c6f0e28a8fc9c0f
parent2b7efe03406411dd8fe25bcc15b0783313097692
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.
include/git2/index.h
src/checkout.c
src/index.c
src/reset.c
tests-clar/checkout/index.c
tests-clar/index/read_tree.c
tests-clar/status/worktree.c