pack-objects: convert oe_set_delta_ext() to use object_id
We already store an object_id internally, and now our sole caller also has one. Let's stop passing around the internal hash array, which adds a bit of type safety. Signed-off-by: Jeff King <peff@peff.net> Signed-off-by: Junio C Hamano <gitster@pobox.com>
This commit is contained in:
committed by
Junio C Hamano
parent
3f83fd5e44
commit
a93c141dde
@ -1756,7 +1756,7 @@ static void check_object(struct object_entry *entry)
|
||||
entry->delta_sibling_idx = base_entry->delta_child_idx;
|
||||
SET_DELTA_CHILD(base_entry, entry);
|
||||
} else {
|
||||
SET_DELTA_EXT(entry, base_ref.hash);
|
||||
SET_DELTA_EXT(entry, &base_ref);
|
||||
}
|
||||
|
||||
unuse_pack(&w_curs);
|
||||
|
||||
Reference in New Issue
Block a user