]> git.ipfire.org Git - thirdparty/git.git/commit - pack-objects.h
pack-objects: convert oe_set_delta_ext() to use object_id
authorJeff King <peff@peff.net>
Mon, 24 Feb 2020 04:30:07 +0000 (23:30 -0500)
committerJunio C Hamano <gitster@pobox.com>
Mon, 24 Feb 2020 20:55:52 +0000 (12:55 -0800)
commita93c141ddef25dc999fff73c590b42d3af606ff3
tree96c8599bacfd25c5e348dcba39a62411ac02c8e7
parent3f83fd5e44c1f038c8a7033cb77399e9ef4f43a9
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>
builtin/pack-objects.c
pack-objects.c
pack-objects.h