summaryrefslogtreecommitdiff
path: root/Documentation/gitcvs-migration.txt
diff options
context:
space:
mode:
authorLibravatar Taylor Blau <me@ttaylorr.com>2021-01-13 17:24:45 -0500
committerLibravatar Junio C Hamano <gitster@pobox.com>2021-01-13 21:53:47 -0800
commit0a7e3642bc0d42a2c322886e64872ac9d736fa84 (patch)
tree517f7f061419e0357e6d87f163eb72d4a33ec243 /Documentation/gitcvs-migration.txt
parentpacked_object_info(): convert to new revindex API (diff)
downloadtgif-0a7e3642bc0d42a2c322886e64872ac9d736fa84.tar.xz
unpack_entry(): convert to new revindex API
Remove direct manipulation of the 'struct revindex_entry' type as well as calls to the deprecated API in 'packfile.c:unpack_entry()'. Usual clean-up is performed (replacing '->nr' with calls to 'pack_pos_to_index()' and so on). Add an additional check to make sure that 'obj_offset()' points at a valid object. In the case this check is violated, we cannot call 'mark_bad_packed_object()' because we don't know the OID. At the top of the call stack is do_oid_object_info_extended() (via packed_object_info()), which does mark the object. Signed-off-by: Taylor Blau <me@ttaylorr.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'Documentation/gitcvs-migration.txt')
0 files changed, 0 insertions, 0 deletions