Re: [PATCH 08/10] packed-backend: add check for object consistency

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sun, Jan 05, 2025 at 09:50:19PM +0800, shejialuo wrote:
> If there is nothing wrong when parsing the raw file "packed-refs", we
> could then iterate the "entries" to check the object consistency. There
> are two kinds of ref entry: one is the normal and another is peeled. For
> both situations, we need to use "parse_object" function to parse the
> object id to get the object. If the object does not exist, we will
> report an error to the user.
> 
> Create a new function "packed_fsck_ref_oid" to do above then update the
> unit test to exercise the code.

This one, as well.

Patrick




[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]

  Powered by Linux