summaryrefslogtreecommitdiff
path: root/diff.c
diff options
context:
space:
mode:
authorPatrick Steinhardt <ps@pks.im>2025-03-10 08:13:28 +0100
committerJunio C Hamano <gitster@pobox.com>2025-03-10 13:16:20 -0700
commit19be71db9c3faafc113c16b4ca9fc30281baf1ce (patch)
tree27d2dc625230b2a9e309dbd3b2ad442908952de1 /diff.c
parentf6e174b2d8b83c17376b163fc4f8062fa3140a04 (diff)
delta-islands: stop depending on `the_repository`
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 available in the calling 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 <ps@pks.im> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'diff.c')
0 files changed, 0 insertions, 0 deletions