diff options
| author | Junio C Hamano <gitster@pobox.com> | 2020-07-06 22:09:17 -0700 |
|---|---|---|
| committer | Junio C Hamano <gitster@pobox.com> | 2020-07-06 22:09:17 -0700 |
| commit | 480e78595ea531482018826d35fed0fb0529afa2 (patch) | |
| tree | 33ba358164446c42e70728966bfea6b3a6e923b2 /object.h | |
| parent | Merge branch 'bc/http-push-flagsfix' (diff) | |
| parent | revision: reallocate TOPO_WALK object flags (diff) | |
| download | git-480e78595ea531482018826d35fed0fb0529afa2.tar.gz git-480e78595ea531482018826d35fed0fb0529afa2.zip | |
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. |
