Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.kernel.org/pub/scm/git/git.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2011-05-14 00:20:43 +0400
committerJunio C Hamano <gitster@pobox.com>2011-05-21 05:38:50 +0400
commit5266d369b21f8c260fa60d94fb29c3998c521e4a (patch)
tree62e71bbd0ebdeae16f6ea2e7bdc0214db5e46aad /cache.h
parent9a4905902230c080f0f6a64ed7f0aaa5777d2f5b (diff)
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 <gitster@pobox.com>
Diffstat (limited to 'cache.h')
-rw-r--r--cache.h3
1 files changed, 2 insertions, 1 deletions
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 {
/*