path: root/cache-tree.h
diff options
authorThomas Rast <>2011-12-06 17:43:36 (GMT)
committerJunio C Hamano <>2011-12-06 22:53:13 (GMT)
commit4eb0346fb8f8a59a1fb7a6bd01154655a7020087 (patch)
tree263a7a1b8ca77a78f5f8b87c35dd81861c11af39 /cache-tree.h
parent1aed2fe394f45fed7b97e268cfa11d25c3d8da27 (diff)
Test the current state of the cache-tree optimization
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: Thomas Rast <> Signed-off-by: Junio C Hamano <>
Diffstat (limited to 'cache-tree.h')
0 files changed, 0 insertions, 0 deletions