Re: [PATCH 15/19] object-file: get rid of `the_repository` in `force_object_loose()`

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

 



Patrick Steinhardt <ps@xxxxxx> writes:

> The function `force_object_loose()` forces an object to become a loose
> object in case it only exists in its packed form. To do so it implicitly
> relies on `the_repository`.
>
> Refactor the function by passing a `struct odb_source` as parameter.
> While the check whether any such loose object exists already acts on the
> whole object database, writing the loose object happens in one specific
> source.
>

Q: Since it exists in the packed form, won't the check always return
true?

[snip]

Attachment: signature.asc
Description: PGP signature


[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