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>

Kristofer Karlsson committed May 25, 2026 at 14:28 UTC 85a30b5b26c2953aa836c554af5fc58eed707e4a
1 file changed +3 -2
object.h
+3 -2
@@ -67,6 +67,7 @@ void object_array_init(struct object_array *array);
67 * revision.h: 0---------10 15 23--------28
68 * fetch-pack.c: 01 67
69 * negotiator/default.c: 2--5
70 + * negotiator/skipping.c: 2--5
71 * walker.c: 0-2
72 * upload-pack.c: 4 11-----14 16-----19
73 * builtin/blame.c: 12-13
@@ -76,13 +77,13 @@ void object_array_init(struct object_array *array);
77 * commit-graph.c: 15
78 * commit-reach.c: 16-----19
79 * builtin/last-modified.c: 1617
79 - * sha1-name.c: 20
80 + * object-name.c: 20
81 * list-objects-filter.c: 21
82 * bloom.c: 2122
83 * builtin/fsck.c: 0--3
84 * builtin/index-pack.c: 2021
85 * reflog.c: 10--12
85 - * builtin/show-branch.c: 0-------------------------------------------26
86 + * builtin/show-branch.c: 0-----------------------------------------------28
87 * builtin/unpack-objects.c: 2021
88 * pack-bitmap.h: 2122
89 */