summaryrefslogtreecommitdiff
path: root/test-dump-cache-tree.c
diff options
context:
space:
mode:
authorLibravatar Jeff King <peff@peff.net>2011-10-14 14:04:16 -0400
committerLibravatar Junio C Hamano <gitster@pobox.com>2011-10-14 11:43:09 -0700
commit58a6a9cc4397477a7d8b620165e651028cc0e3c9 (patch)
tree79ecdaf8e79365abee1b8ea2342b656ba7a5aafc /test-dump-cache-tree.c
parentpack-objects: protect against disappearing packs (diff)
downloadtgif-58a6a9cc4397477a7d8b620165e651028cc0e3c9.tar.xz
downgrade "packfile cannot be accessed" errors to warnings
These can happen if another process simultaneously prunes a pack. But that is not usually an error condition, because a properly-running prune should have repacked the object into a new pack. So we will notice that the pack has disappeared unexpectedly, print a message, try other packs (possibly after re-scanning the list of packs), and find it in the new pack. Acked-by: Nicolas Pitre <nico@fluxnic.net> Signed-off-by: Jeff King <peff@peff.net> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'test-dump-cache-tree.c')
0 files changed, 0 insertions, 0 deletions