Re: [PATCH v2] make pack-objects a bit more resilient to repo corruption
- From
Sverre Rabbelier <srabbelier@gmail.com>
- Date
- Oct 22, 2010, 20:50 UTC
- Message-ID
- <AANLkTimy-ihrF1syWYe3T4W6-UHzCaj5Jud5rdFmv3D5@mail.gmail.com>
- In-Reply-To
- <alpine.LFD.2.00.1010221606550.2764@xanadu.home>
Heya,
On Fri, Oct 22, 2010 at 13:26, Nicolas Pitre <nico@fluxnic.net> wrote:
> + static int warned = 0;
> + if (!warned++)
> + warning("object %s cannot be read",
> + sha1_to_hex(src_entry->idx.sha1));How does this handle multiple missing objects? Will it only warn for the first one?
-- Cheers, Sverre Rabbelier