Skip to content

Commit a4eae17

Browse files
committed
Merge branch 'nd/pack-struct-commit'
Memory optimization. * nd/pack-struct-commit: commit.h: rearrange 'index' to shrink struct commit
2 parents 26597cb + 25f859f commit a4eae17

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

commit.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,6 @@ struct commit_list {
1919
struct commit {
2020
struct object object;
2121
void *util;
22-
unsigned int index;
2322
timestamp_t date;
2423
struct commit_list *parents;
2524

@@ -30,6 +29,7 @@ struct commit {
3029
*/
3130
struct tree *maybe_tree;
3231
uint32_t graph_pos;
32+
unsigned int index;
3333
};
3434

3535
extern int save_commit_buffer;

0 commit comments

Comments
 (0)