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>main
parent
6a4418c36d
commit
85a30b5b26
5
object.h
5
object.h
|
|
@ -67,6 +67,7 @@ void object_array_init(struct object_array *array);
|
|||
* revision.h: 0---------10 15 23--------28
|
||||
* fetch-pack.c: 01 67
|
||||
* negotiator/default.c: 2--5
|
||||
* negotiator/skipping.c: 2--5
|
||||
* walker.c: 0-2
|
||||
* upload-pack.c: 4 11-----14 16-----19
|
||||
* builtin/blame.c: 12-13
|
||||
|
|
@ -76,13 +77,13 @@ void object_array_init(struct object_array *array);
|
|||
* commit-graph.c: 15
|
||||
* commit-reach.c: 16-----19
|
||||
* builtin/last-modified.c: 1617
|
||||
* sha1-name.c: 20
|
||||
* object-name.c: 20
|
||||
* list-objects-filter.c: 21
|
||||
* bloom.c: 2122
|
||||
* builtin/fsck.c: 0--3
|
||||
* builtin/index-pack.c: 2021
|
||||
* reflog.c: 10--12
|
||||
* builtin/show-branch.c: 0-------------------------------------------26
|
||||
* builtin/show-branch.c: 0-----------------------------------------------28
|
||||
* builtin/unpack-objects.c: 2021
|
||||
* pack-bitmap.h: 2122
|
||||
*/
|
||||
|
|
|
|||
Loading…
Reference in New Issue