From: Justin Tobler Date: Tue, 04 Mar 2025 19:48:14 GMT Subject: Re: [PATCH 09/12] delta-islands: stop depending on `the_repository` Message-ID: In-Reply-To: <20250303-b4-pks-objects-without-the-repository-v1-9-c5dd43f2476e@pks.im> On 25/03/03 09:47AM, Patrick Steinhardt wrote: > There are multiple sites in "delta-islands.c" where we use the > global `the_repository` variable, either explicitly or implicitly by > using `the_hash_algo`. > > Refactor the code to stop using `the_repository`. In most cases this is > trivial because we already had a repository availabe in the calling s/availabe/available/ > context, with the only exception being `propagate_island_marks()`. Adapt > it so that the repository gets passed in via a parameter. > > Signed-off-by: Patrick Steinhardt