support for non-commit object caching in rev-cache
authorNick Edelen <sirnot@gmail.com>
Mon, 7 Sep 2009 14:10:52 +0000 (16:10 +0200)
committerShawn O. Pearce <spearce@spearce.org>
Tue, 29 Sep 2009 17:06:56 +0000 (10:06 -0700)
commitae97f67503667365d929eb792db72b4c336f4e80
tree9b8e754c04f793efd0f280585f14f65b77d6ef20
parent4d9b61470a4b902668cc2491697f4fcc6370b5ae
support for non-commit object caching in rev-cache

Summarized, this third patch contains:
 - support for non-commit object caching
 - expansion of porcelain to accomodate non-commit objects
 - appropriate tests

Objects are stored relative to the commit in which they were introduced --
commits are 'diffed' against their parents.  This will eliminate the need for
tree recursion in cached commits (significantly reducing I/O), and potentially
be useful to external applications.

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