Code

[PATCH] Expose packed_git and alt_odb.
authorJunio C Hamano <junkio@cox.net>
Tue, 28 Jun 2005 21:56:57 +0000 (14:56 -0700)
committerLinus Torvalds <torvalds@ppc970.osdl.org>
Tue, 28 Jun 2005 22:16:25 +0000 (15:16 -0700)
commit9a217f2a725b085982e57b2a900d46128713cb27
tree7a8e6944274ba9653b56e523aa6c5b185e46f051
parentd22b9290ab6de119d03154844910ae5d963b5f1f
[PATCH] Expose packed_git and alt_odb.

The commands git-fsck-cache and probably git-*-pull needs to have a way
to enumerate objects contained in packed GIT archives and alternate
object pools.  This commit exposes the data structure used to keep track
of them from sha1_file.c, and adds a couple of accessor interface
functions for use by the enhanced git-fsck-cache command.

Signed-off-by: Junio C Hamano <junkio@cox.net>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
cache.h
sha1_file.c