Re: [PATCH 3/6] object-store.h: remove unused has_sha1_file*()

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

 



On Fri, Nov 19, 2021 at 01:46:23PM +0100, Ævar Arnfjörð Bjarmason wrote:

> These macros were last used in 5d3679ee023 (sha1-file: drop
> has_sha1_file(), 2019-01-07), so let's remove coccinelle migration
> rules added 9b45f499818 (object-store: prepare has_{sha1, object}_file
> to handle any repo, 2018-11-13), along with the compatibility macros
> themselves.
> 
> The "These functions.." in the diff context and the general comment
> about compatibility macros still applies to
> "NO_THE_REPOSITORY_COMPATIBILITY_MACROS" use just a few lines below
> this, so let's keep the comment.

Yep, makes sense. I cleaned up the object_id.cocci file, but didn't
think to look for the_repository rules or helpers. Nice to see this
going away, too.

-Peff



[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