pack-redundant: delete redundant code
The objects in alt-odb are removed from `all_objects` twice in `load_all_objects` and `scan_alt_odb_packs`, remove it from the later function. Signed-off-by: Sun Chao <sunchao9@huawei.com> Signed-off-by: Jiang Xin <zhiyou.jx@alibaba-inc.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
This commit is contained in:
parent
3011177640
commit
8822859363
@ -545,7 +545,6 @@ static void scan_alt_odb_packs(void)
|
||||
alt->all_objects);
|
||||
local = local->next;
|
||||
}
|
||||
llist_sorted_difference_inplace(all_objects, alt->all_objects);
|
||||
alt = alt->next;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user