File tree Expand file tree Collapse file tree 5 files changed +20
-12
lines changed Expand file tree Collapse file tree 5 files changed +20
-12
lines changed Original file line number Diff line number Diff line change @@ -49,6 +49,7 @@ struct thread_local {
49
49
int pack_fd ;
50
50
};
51
51
52
+ /* Remember to update object flag allocation in object.h */
52
53
#define FLAG_LINK (1u<<20)
53
54
#define FLAG_CHECKED (1u<<21)
54
55
Original file line number Diff line number Diff line change @@ -2549,6 +2549,7 @@ static void read_object_list_from_stdin(void)
2549
2549
}
2550
2550
}
2551
2551
2552
+ /* Remember to update object flag allocation in object.h */
2552
2553
#define OBJECT_ADDED (1u<<20)
2553
2554
2554
2555
static void show_commit (struct commit * commit , void * data )
Original file line number Diff line number Diff line change @@ -52,6 +52,7 @@ struct collect_reflog_cb {
52
52
int nr ;
53
53
};
54
54
55
+ /* Remember to update object flag allocation in object.h */
55
56
#define INCOMPLETE (1u<<10)
56
57
#define STUDYING (1u<<11)
57
58
#define REACHABLE (1u<<12)
Original file line number Diff line number Diff line change @@ -158,6 +158,7 @@ struct obj_info {
158
158
struct object * obj ;
159
159
};
160
160
161
+ /* Remember to update object flag allocation in object.h */
161
162
#define FLAG_OPEN (1u<<20)
162
163
#define FLAG_WRITTEN (1u<<21)
163
164
Original file line number Diff line number Diff line change @@ -28,18 +28,22 @@ struct object_array {
28
28
#define TYPE_BITS 3
29
29
/*
30
30
* object flag allocation:
31
- * revision.h: 0---------10 26
32
- * fetch-pack.c: 0---5
33
- * walker.c: 0-2
34
- * upload-pack.c: 4 11----------------19
35
- * builtin/blame.c: 12-13
36
- * bisect.c: 16
37
- * bundle.c: 16
38
- * http-push.c: 16-----19
39
- * commit.c: 16-----19
40
- * sha1_name.c: 20
41
- * list-objects-filter.c: 21
42
- * builtin/fsck.c: 0--3
31
+ * revision.h: 0---------10 26
32
+ * fetch-pack.c: 0----5
33
+ * walker.c: 0-2
34
+ * upload-pack.c: 4 11----------------19
35
+ * builtin/blame.c: 12-13
36
+ * bisect.c: 16
37
+ * bundle.c: 16
38
+ * http-push.c: 16-----19
39
+ * commit.c: 16-----19
40
+ * sha1_name.c: 20
41
+ * list-objects-filter.c: 21
42
+ * builtin/fsck.c: 0--3
43
+ * builtin/index-pack.c: 2021
44
+ * builtin/pack-objects.c: 20
45
+ * builtin/reflog.c: 10--12
46
+ * builtin/unpack-objects.c: 2021
43
47
*/
44
48
#define FLAG_BITS 27
45
49
You can’t perform that action at this time.
0 commit comments