git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: [PATCH 1/5] Add test-scrap-cache-tree

From
Junio C Hamano <gitster@pobox.com>
Date
Dec 6, 2011, 22:51 UTC
Message-ID
<7vfwgxe2k6.fsf@alter.siamese.dyndns.org>
In-Reply-To
<534454506f92428863de8fe0638f4129e962a073.1323191497.git.trast@student.ethz.ch>
Thomas Rast <trast@student.ethz.ch> writes:
> A simple utility that invalidates all existing cache-tree data.  We
> need this for tests.  (We don't need a tool to rebuild the cache-tree
> data; git read-tree HEAD works for that.)
"git read-tree -m HEAD HEAD" would work for that, I suspect ;-)

But that can be improved later, so it is very sensible to add a test tool like this.

Previous: Thomas RastNext: Thomas Rast
Message 3 of 10 in “cache-tree revisited”
  1. 0/5 cache-tree revisitedThomas Rast, Dec 6, 2011
  2. 1/5 Add test-scrap-cache-treeThomas Rast, Dec 6, 2011
  3. Junio C HamanoDec 6, 2011
  4. 2/5 Test the current state of the cache-tree optimizationThomas Rast, Dec 6, 2011
  5. 3/5 Refactor cache_tree_update idiom from commitThomas Rast, Dec 6, 2011
  6. 4/5 commit: write cache-tree data when writing index anywayThomas Rast, Dec 6, 2011
  7. 5/5 reset: update cache-tree data when appropriateThomas Rast, Dec 6, 2011
  8. Junio C HamanoDec 6, 2011
  9. Thomas RastDec 7, 2011
  10. Thomas RastDec 8, 2011

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.