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

Re: [PATCH 5/5] full integration of rev-cache into git's revision walker, completed test suite

From
Sam Vilain <sam@vilain.net>
Date
Aug 7, 2009, 03:22 UTC
Message-ID
<4A7B9DEB.1060002@vilain.net>
In-Reply-To
<op.ux8i7ceotdk399@sirnot.private>
Nick Edelen wrote:
> This last patch provides a working integration of rev-cache into the revision 
> walker, along with some touch-ups:
>   

"This last patch" is redundant. You can just write "Integrate rev-cache into the revision walker;"

Show 8 quoted lines
>  - integration into revision walker and list-objects
>  - addition of 'unique' field to commit objects, optionally initialized in 
>    rev-cache with the objects introduced in that commit
>  - tweak of object generation to take advantage of the 'unique' field
>  - more fluid handling of damaged cache slices
>  - numerous tests for both features from the previous patch, and the 
> integration's integrity
>   
Does it make sense to split this integration up or stage it somehow?
Show 15 quoted lines
> 'Integration' is rather broad -- a more detailed description follows for each 
> aspect:
>  - rev-cache
> the traversal mechanism is updated to handle many of the non-prune options 
> rev-list does (date limiting, slop-handling, etc.), and is adjusted to allow 
> for non-fatal cache-traversal failures.
>
>  - revision walker
> both limited and unlimited traversal attempt to use the cache when possible, 
> smoothly falling back if it's not.
>
>  - list-objects
> object listing does not recurse into cached trees, and has been adjusted to 
> guarantee commit-tag-tree-blob ordering.
>   
Especially given the length of this part of the commit message.
Sam
Previous: Nick EdelenNext: Nick Edelen
Message 2 of 3 in “full integration of rev-cache into git's revision walker, completed test suite”
  1. 5/5 full integration of rev-cache into git's revision walker, completed test suiteNick Edelen, Aug 6, 2009
  2. Sam VilainAug 7, 2009
  3. Nick EdelenAug 7, 2009

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.