• Show log

    Commit

  • Hash : bb0757d5
    Author : Carlos Martín Nieto
    Date : 2014-10-22T21:09:31

    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.