diff options
author | Junio C Hamano <gitster@pobox.com> | 2020-07-07 08:09:17 +0300 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2020-07-07 08:09:17 +0300 |
commit | 480e78595ea531482018826d35fed0fb0529afa2 (patch) | |
tree | 33ba358164446c42e70728966bfea6b3a6e923b2 /object.h | |
parent | 67d99b82de27e98bfec7d174ef4b6369d5b85d7a (diff) | |
parent | 23c4319f0d1bd68a15368e97a4612768333ff486 (diff) |
Merge branch 'rs/pack-bits-in-object-better'
By renumbering object flag bits, "struct object" managed to lose
bloated inter-field padding.
* rs/pack-bits-in-object-better:
revision: reallocate TOPO_WALK object flags
Diffstat (limited to 'object.h')
-rw-r--r-- | object.h | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -58,7 +58,7 @@ struct object_array { /* * object flag allocation: - * revision.h: 0---------10 15 25----28 + * revision.h: 0---------10 15 23------26 * fetch-pack.c: 01 * negotiator/default.c: 2--5 * walker.c: 0-2 @@ -78,7 +78,7 @@ struct object_array { * builtin/show-branch.c: 0-------------------------------------------26 * builtin/unpack-objects.c: 2021 */ -#define FLAG_BITS 29 +#define FLAG_BITS 28 /* * The object type is stored in 3 bits. |