Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.kernel.org/pub/scm/git/git.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2020-07-07 08:09:17 +0300
committerJunio C Hamano <gitster@pobox.com>2020-07-07 08:09:17 +0300
commit480e78595ea531482018826d35fed0fb0529afa2 (patch)
tree33ba358164446c42e70728966bfea6b3a6e923b2 /object.h
parent67d99b82de27e98bfec7d174ef4b6369d5b85d7a (diff)
parent23c4319f0d1bd68a15368e97a4612768333ff486 (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.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/object.h b/object.h
index 1bcf4f3be8..38dc2d5a6c 100644
--- a/object.h
+++ b/object.h
@@ -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.