]> git.ipfire.org Git - thirdparty/git.git/commit
object.h: add flags allocated by pack-bitmap.h
authorTaylor Blau <me@ttaylorr.com>
Tue, 14 May 2024 19:56:50 +0000 (15:56 -0400)
committerJunio C Hamano <gitster@pobox.com>
Wed, 15 May 2024 13:52:31 +0000 (06:52 -0700)
commitb174a97a54890eb789d792764542b3d90f639204
tree9c7ab086c1141f6765a47b4d06373b153558a87e
parent786a3e4b8d754d2b14b1208b98eeb0a554ef19a8
object.h: add flags allocated by pack-bitmap.h

In commit 7cc8f971085 (pack-objects: implement bitmap writing,
2013-12-21) the NEEDS_BITMAP flag was introduced into pack-bitmap.h, but
no object flags allocation table existed at the time.

In 208acbfb82f (object.h: centralize object flag allocation, 2014-03-25)
when that table was first introduced, we never added the flags from
7cc8f971085, which has remained the case since.

Rectify this by including the flag bit used by pack-bitmap.h into the
centralized table in object.h.

Signed-off-by: Taylor Blau <me@ttaylorr.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
object.h