diff options
author | Junio C Hamano <gitster@pobox.com> | 2011-05-13 13:20:43 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2011-05-20 18:38:50 -0700 |
commit | 5266d369b21f8c260fa60d94fb29c3998c521e4a (patch) | |
tree | 62e71bbd0ebdeae16f6ea2e7bdc0214db5e46aad /cache.h | |
parent | 9a4905902230c080f0f6a64ed7f0aaa5777d2f5b (diff) | |
download | git-5266d369b21f8c260fa60d94fb29c3998c521e4a.tar.gz |
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.h | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -1030,7 +1030,8 @@ struct object_info { enum { OI_CACHED, OI_LOOSE, - OI_PACKED + OI_PACKED, + OI_DBCACHED } whence; union { /* |