]> git.ipfire.org Git - thirdparty/git.git/commit - pack-objects.h
pack-objects: move in_pack_pos out of struct object_entry
authorNguyễn Thái Ngọc Duy <pclouds@gmail.com>
Sat, 14 Apr 2018 15:35:04 +0000 (17:35 +0200)
committerJunio C Hamano <gitster@pobox.com>
Mon, 16 Apr 2018 03:38:58 +0000 (12:38 +0900)
commit06af3bba414b832fe9e04fb959daa2b9b678d2d5
tree046541620f73e0ba8ab322c20190252bbff4955d
parentb5c0cbd8083f71e071207fca0d5434c6db6ff6c9
pack-objects: move in_pack_pos out of struct object_entry

This field is only need for pack-bitmap, which is an optional
feature. Move it to a separate array that is only allocated when
pack-bitmap is used (like objects[], it is not freed, since we need it
until the end of the process)

Signed-off-by: Nguyễn Thái Ngọc Duy <pclouds@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin/pack-objects.c
pack-bitmap-write.c
pack-bitmap.c
pack-bitmap.h
pack-objects.h