diff options
author | Junio C Hamano <gitster@pobox.com> | 2018-05-30 14:04:08 +0900 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2018-05-30 14:04:08 +0900 |
commit | a4eae17c2c3f898d2838000c5f1b7c7d66c62316 (patch) | |
tree | 3729eac9d5cbc2ca3fe0ded926283bfdbd832929 | |
parent | 26597cb0cceb82b315c543f1cc02bbb72c537eaa (diff) | |
parent | 25f859fdf49c37780685d07ebda81b7716fb5879 (diff) | |
download | git-a4eae17c2c3f898d2838000c5f1b7c7d66c62316.tar.gz |
Merge branch 'nd/pack-struct-commit'
Memory optimization.
* nd/pack-struct-commit:
commit.h: rearrange 'index' to shrink struct commit
-rw-r--r-- | commit.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -19,7 +19,6 @@ struct commit_list { struct commit { struct object object; void *util; - unsigned int index; timestamp_t date; struct commit_list *parents; @@ -30,6 +29,7 @@ struct commit { */ struct tree *maybe_tree; uint32_t graph_pos; + unsigned int index; }; extern int save_commit_buffer; |