Re: [PATCH 4/8] midx: cleanup internal usage of `the_repository` and `the_hash_algo`
- From
Patrick Steinhardt <ps@pks.im>
- Date
- Nov 18, 2024, 08:06 UTC
- Message-ID
- <Zzr1at9niamTkEm1@pks.im>
- In-Reply-To
- <20241115-374-refactor-midx-c-and-midx-write-c-to-not-depend-on-global-state-v1-4-761f8a2c7775@gmail.com>
On Fri, Nov 15, 2024 at 02:42:17PM +0100, Karthik Nayak wrote:
> In the `midx.c` file, there are multiple usages of `the_repository` and > `the_hash_algo` within static functions of the file. Some of the usages > can be simply swapped out with the available `repository` struct > available. While some of them can be swapped out by passing the
The second "available" should probably be "parameter" or "variable" or something like this? Or it just needs to be dropped altogether.
Patrick