• Thomas Rast's avatar
    Test the current state of the cache-tree optimization · 4eb0346f
    Thomas Rast authored
    The cache-tree optimization originally helped speed up write-tree
    operation.  However, many commands no longer properly maintain -- or
    use an opportunity to cheaply generate -- the cache-tree data.  In
    particular, this affects commit, checkout and reset.  The notable
    examples that *do* write cache-tree data are read-tree and write-tree.
    
    This sadly means most people no longer benefit from the optimization,
    as they would not normally use the plumbing commands.
    
    Document the current state of affairs in a test file, in preparation
    for improvements in the area.
    Signed-off-by: default avatarThomas Rast <trast@student.ethz.ch>
    Signed-off-by: default avatarJunio C Hamano <gitster@pobox.com>
    4eb0346f
t0090-cache-tree.sh 2.15 KB