On 5/6/25 7:09 AM, Patrick Steinhardt wrote:
The functions to manage alternates all depend on `the_repository`. Refactor them to accept an object database as parameter and adjusting all callers. The functions are renamed accordingly.
...
- prepare_alt_odb(odb->repo); + odb_prepare_alternates(odb);
I was looking forward to this change in an earlier patch that introduced the line being edited here. Thanks for making this cleaner (and the other callers will get cleaner eventually, too). Thanks, -Stolee