Re: [PATCH 10/10] repository.h: drop unused `gc_cruft_packs`
- From
Jeff King <peff@peff.net>
- Date
- Apr 18, 2023, 11:02 UTC
- Message-ID
- <20230418110215.GC516715@coredump.intra.peff.net>
- In-Reply-To
- <fa15125454bb6596adbe68689555337a42cb80b7.1681764848.git.me@ttaylorr.com>
On Mon, Apr 17, 2023 at 04:54:43PM -0400, Taylor Blau wrote:
> As of the previous commit, all callers that need to read the value of > `gc.cruftPacks` do so outside without using the `repo_settings` struct, > making its `gc_cruft_packs` unused. Drop it accordingly.
Nice cleanup (I had to peek forward to understand the mystery repo_settings hunk in the previous patch; it is a little weird to me that this "settings" struct exists independent of the config, but that is not your doing).
-Peff