pack-objects: use bitfield for object_entry::depth
authorNguyễn Thái Ngọc Duy <pclouds@gmail.com>
Sat, 14 Apr 2018 15:35:03 +0000 (17:35 +0200)
committerJunio C Hamano <gitster@pobox.com>
Mon, 16 Apr 2018 03:38:58 +0000 (12:38 +0900)
commitb5c0cbd8083f71e071207fca0d5434c6db6ff6c9
tree95a653e9ace7710e94a4d43438ed67b851141e0b
parent0c6804ab4ee5cfa47fe28e0a2d20415c5c1f8884
pack-objects: use bitfield for object_entry::depth

Because of struct packing from now on we can only handle max depth
4095 (or even lower when new booleans are added in this struct). This
should be ok since long delta chain will cause significant slow down
anyway.

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