libgit2/tests/index
Carlos Martín Nieto bb0757d56c tree-cache: correct the entry_count calculation
The entry_count field is the amount of index entries covered by a
particular cache entry, that is how many files are there (recursively)
under a particular directory.

The current code that attemps to do this is severely defincient and is
trying to count the amount of children, which always comes up to zero.

We don't even need to recount, since we have the information during the
cache creation. We can take that number and keep it, as we only ever
invalidate or replace.
2014-10-22 21:25:08 +02:00
..
addall.c Staticize file-local variables 2014-02-24 05:32:05 -08:00
cache.c tree-cache: correct the entry_count calculation 2014-10-22 21:25:08 +02:00
collision.c More index collision tests 2014-01-29 13:15:53 -08:00
conflicts.c Introduce cl_assert_equal_oid 2014-07-01 14:40:16 -04:00
crlf.c Introduce cl_assert_equal_oid 2014-07-01 14:40:16 -04:00
filemodes.c Plug a leak in the tests 2014-06-03 16:18:08 +02:00
inmemory.c Rename tests-clar to tests 2013-11-14 14:05:52 -08:00
names.c Allow to propagate checkout callbacks to git HARD reset 2014-08-03 16:29:51 +02:00
read_tree.c Introduce cl_assert_equal_oid 2014-07-01 14:40:16 -04:00
rename.c Introduce cl_assert_equal_oid 2014-07-01 14:40:16 -04:00
reuc.c Allow to propagate checkout callbacks to git HARD reset 2014-08-03 16:29:51 +02:00
stage.c Rename tests-clar to tests 2013-11-14 14:05:52 -08:00
tests.c Introduce cl_assert_equal_oid 2014-07-01 14:40:16 -04:00