]> git.ipfire.org Git - thirdparty/git.git/commit - cache.h
sha1_object_info_extended(): hint about objects in delta-base cache
authorJunio C Hamano <gitster@pobox.com>
Fri, 13 May 2011 20:20:43 +0000 (13:20 -0700)
committerJunio C Hamano <gitster@pobox.com>
Sat, 21 May 2011 01:38:50 +0000 (18:38 -0700)
commit5266d369b21f8c260fa60d94fb29c3998c521e4a
tree62e71bbd0ebdeae16f6ea2e7bdc0214db5e46aad
parent9a4905902230c080f0f6a64ed7f0aaa5777d2f5b
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>
cache.h
sha1_file.c