From: Thomas Rast Date: Tue, 6 Dec 2011 17:43:36 +0000 (+0100) Subject: Test the current state of the cache-tree optimization X-Git-Tag: v1.7.9-rc0~53^2~3 X-Git-Url: https://git.lorimer.id.au/gitweb.git/diff_plain/4eb0346fb8f8a59a1fb7a6bd01154655a7020087?hp=4eb0346fb8f8a59a1fb7a6bd01154655a7020087 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 ---