]> git.ipfire.org Git - thirdparty/git.git/commit
object.h: fix stale entries in object flag allocation table
authorKristofer Karlsson <krka@spotify.com>
Mon, 25 May 2026 14:28:03 +0000 (14:28 +0000)
committerJunio C Hamano <gitster@pobox.com>
Mon, 25 May 2026 22:17:26 +0000 (07:17 +0900)
commit85a30b5b26c2953aa836c554af5fc58eed707e4a
treee55045fd9e1178102021343db35b2b7b7f4e1f6b
parent6a4418c36d6bad69a599044b3cf49dcbd049cb45
object.h: fix stale entries in object flag allocation table

Update three stale entries found during an audit of the flag
allocation table:

 - sha1-name.c was renamed to object-name.c
 - builtin/show-branch.c uses bits 0 and 2-28, not 0-26
   (REV_SHIFT=2, MAX_REVS=FLAG_BITS-REV_SHIFT=27)
 - negotiator/skipping.c uses bits 2-5 like negotiator/default.c
   (ADVERTISED on bit 3 instead of COMMON_REF)

Signed-off-by: Kristofer Karlsson <krka@spotify.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
object.h