Re: [PATCH 4/8] midx: cleanup internal usage of `the_repository` and `the_hash_algo`
From: karthik nayak <hidden>
Date: 2024-11-18 16:16:26
Attachments
- signature.asc [application/pgp-signature] 690 bytes
From: karthik nayak <hidden>
Date: 2024-11-18 16:16:26
Patrick Steinhardt [off-list ref] writes:
On Fri, Nov 15, 2024 at 02:42:17PM +0100, Karthik Nayak wrote:quoted
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 theThe second "available" should probably be "parameter" or "variable" or something like this? Or it just needs to be dropped altogether. Patrick
I think it is best dropped. Thanks