support for path name caching in rev-cache
commitf591e5c695ca2bb2e4d84feb19f01ffebae7972c
authorNick Edelen <sirnot@gmail.com>
Mon, 7 Sep 2009 14:11:06 +0000 (7 16:11 +0200)
committerShawn O. Pearce <spearce@spearce.org>
Tue, 29 Sep 2009 17:06:56 +0000 (29 10:06 -0700)
tree19ffe80b0a7079397e2b6cca645108c677e7cf5c
parentd538717a759c64bdc4c1f042465c4309080dd620
support for path name caching in rev-cache

An update to caching mechanism, allowing path names to be cached for blob and
tree objects.  A list of names appearing in each cache slice is appended to the
end of the slice, which is referenced by variable-sized indexes per entry.
This allows pack-objects to more intelligently schedule unpacked/poorly packed
object, and enables proper duplication of rev-list's behaivor.

Signed-off-by: Nick Edelen <sirnot@gmail.com>
builtin-rev-cache.c
rev-cache.c
rev-cache.h
revision.h
t/t6017-rev-cache-list.sh