summaryrefslogtreecommitdiff
path: root/git.c
diff options
context:
space:
mode:
authorJeff King <peff@peff.net>2006-06-02 15:32:23 (GMT)
committerJunio C Hamano <junkio@cox.net>2006-06-02 18:09:38 (GMT)
commit637cdd9d1d997fca34a1fc668fed1311e30fe95f (patch)
treeed8d8b1fcbf9a5b9f2bbbb53f007618d32808c41 /git.c
parent31262627109476c529418132e0820687003fb1fe (diff)
downloadgit-637cdd9d1d997fca34a1fc668fed1311e30fe95f.zip
git-637cdd9d1d997fca34a1fc668fed1311e30fe95f.tar.gz
git-637cdd9d1d997fca34a1fc668fed1311e30fe95f.tar.bz2
handle concurrent pruning of packed objects
This patch causes read_sha1_file and sha1_object_info to re-examine the list of packs if an object cannot be found. It works by re-running prepare_packed_git() after an object fails to be found. It does not attempt to clean up the old pack list. Old packs which are in use can continue to be used (until unused by lru selection). New packs are placed at the front of the list and will thus be examined before old packs. Signed-off-by: Jeff King <peff@peff.net> Signed-off-by: Junio C Hamano <junkio@cox.net>
Diffstat (limited to 'git.c')
0 files changed, 0 insertions, 0 deletions