From 5266d369b21f8c260fa60d94fb29c3998c521e4a Mon Sep 17 00:00:00 2001 From: Junio C Hamano Date: Fri, 13 May 2011 13:20:43 -0700 Subject: sha1_object_info_extended(): hint about objects in delta-base cache An object found in the delta-base cache is not guaranteed to stay there, but we know it came from a pack and it is likely to give us a quick access if we read_sha1_file() it right now, which is a piece of useful information. Signed-off-by: Junio C Hamano --- cache.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'cache.h') diff --git a/cache.h b/cache.h index 9fbc07e976..3a1af9d958 100644 --- a/cache.h +++ b/cache.h @@ -1030,7 +1030,8 @@ struct object_info { enum { OI_CACHED, OI_LOOSE, - OI_PACKED + OI_PACKED, + OI_DBCACHED } whence; union { /* -- cgit v1.2.3