administrative functions for rev-cache, start of integration into git
commit88c62f96b274040c3ed5406d065f9f6efff2b298
authorNick Edelen <sirnot@gmail.com>
Mon, 7 Sep 2009 14:10:56 +0000 (7 16:10 +0200)
committerShawn O. Pearce <spearce@spearce.org>
Tue, 29 Sep 2009 17:06:56 +0000 (29 10:06 -0700)
tree2a4fc4d7ba7b85d7a342c1187444e5126ac49d27
parentae97f67503667365d929eb792db72b4c336f4e80
administrative functions for rev-cache, start of integration into git

This patch, fourth, contains miscellaneous (maintenance) features:
 - support for cache slice fusion, index regeneration and object size caching
 - non-commit object generation refactored
 - porcelain updated to support feature additions

The beginnings of integration into git are present in this patch, mainly
centered on caching object size; the object generation is refactored to more
elegantly exploit this.  Fusion allows smaller (incremental) slices to be
coagulated into a larger slice, reducing overhead, while index regeneration
enables repair or cleaning of the cache index.

Note that tests for these features are included in the following patch, as they
take advantage of the rev-cache's integration into the revision walker.

Signed-off-by: Nick Edelen <sirnot@gmail.com>
builtin-gc.c
builtin-rev-cache.c
rev-cache.c
rev-cache.h
revision.h