Thread (1 message) 1 message, 1 author, 2016-06-15

Re: [PATCH v4+ 3/4] count-objects: report garbage files in pack directory too

From: Junio C Hamano <hidden>
Date: 2016-06-15 22:56:10

Nguyễn Thái Ngọc Duy  [off-list ref] writes:
prepare_packed_git_one() is modified to allow count-objects to hook a
report function to so we don't need to duplicate the pack searching
logic in count-objects.c. When report_pack_garbage is NULL, the
overhead is insignificant.

The garbage is reported with warning() instead of error() in packed
garbage case because it's not an error to have garbage. Loose garbage
is still reported as errors and will be converted to warnings later.

Signed-off-by: Nguyễn Thái Ngọc Duy <redacted>
---
Will replace the one from the other day and advance the topic to 'next'.

Thanks.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help