git/builtin
Patrick Steinhardt f6e174b2d8 object-file-convert: stop depending on the_repository
There are multiple sites in "object-file-convert.c" where we use the
global `the_repository` variable, either explicitly or implicitly by
using `the_hash_algo`. All of these callsites are transitively called
from `convert_object_file()`, which indeed has no repo as input.

Refactor the function so that it receives a repository as a parameter
and pass it through to all internal functions to get rid of the
dependency. Remove the `USE_THE_REPOSITORY_VARIABLE` define.

Signed-off-by: Patrick Steinhardt <ps@pks.im>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
2025-03-10 13:16:19 -07:00
..
2025-02-18 15:30:31 -08:00
2025-01-21 08:44:54 -08:00
2024-12-13 07:33:36 -08:00
2025-01-28 13:02:22 -08:00
2024-12-18 10:44:31 -08:00
2024-12-18 10:44:30 -08:00
2025-03-10 13:16:18 -07:00
2024-12-18 10:44:31 -08:00
2025-02-04 09:51:41 -08:00
2025-03-03 14:51:29 -08:00
2024-12-18 10:44:30 -08:00
2025-01-28 13:02:22 -08:00