Jeff King writes:
> @@ -1824,6 +1856,22 @@ static int packed_object_info(struct packed_git *p,
> off_t obj_offset,
> }
> }
>
> + if (oi->delta_base_sha1) {
> + if (type == OBJ_OFS_DELTA || type == OBJ_REF_DELTA) {
> + const unsigned char
A caller of sha1_object_info_extended technically has enough
information to determine the base sha1 from the results of
the call. It knows the pack, offset, and delta type of the
object, which is sufficient to find the base.
However, the functions to do so are not publicly available,
and the code
2 matches
Mail list logo