Code

unpack-object: cache for non written objects
authorMartin Koegler <mkoegler@auto.tuwien.ac.at>
Mon, 25 Feb 2008 21:46:10 +0000 (22:46 +0100)
committerJunio C Hamano <gitster@pobox.com>
Fri, 29 Feb 2008 05:54:14 +0000 (21:54 -0800)
commit2add1e6db44c81e19cd4263317b53f3c1339e61b
tree0fb41efee542e8f0a05f8067b7c23700f3734fd4
parentd6ffc8d784d41977397a49ce5333cfe7db1e9c2c
unpack-object: cache for non written objects

Preventing objects with broken links entering the repository
means, that write of some objects must be delayed.

This patch adds a cache to keep the object data in memory. The delta
resolving code must also search in the cache.

Signed-off-by: Martin Koegler <mkoegler@auto.tuwien.ac.at>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin-unpack-objects.c