delta-islands.c: remove the_repository references

Signed-off-by: Nguyễn Thái Ngọc Duy <pclouds@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
This commit is contained in:
Nguyễn Thái Ngọc Duy
2018-11-10 06:49:03 +01:00
committed by Junio C Hamano
parent c207e9e1f6
commit 385cb64ff3
3 changed files with 22 additions and 15 deletions

View File

@ -2628,7 +2628,7 @@ static void prepare_pack(int window, int depth)
unsigned n;
if (use_delta_islands)
resolve_tree_islands(progress, &to_pack);
resolve_tree_islands(the_repository, progress, &to_pack);
get_object_details();
@ -3143,7 +3143,7 @@ static void get_object_list(int ac, const char **av)
return;
if (use_delta_islands)
load_delta_islands();
load_delta_islands(the_repository);
if (prepare_revision_walk(&revs))
die(_("revision walk setup failed"));