Skip to content
Snippets Groups Projects
Commit a4eae17c authored by Junio C Hamano's avatar Junio C Hamano
Browse files

Merge branch 'nd/pack-struct-commit'

Memory optimization.

* nd/pack-struct-commit:
  commit.h: rearrange 'index' to shrink struct commit
parents 26597cb0 25f859fd
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -19,7 +19,6 @@ struct commit_list {
struct commit {
struct object object;
void *util;
unsigned int index;
timestamp_t date;
struct commit_list *parents;
 
Loading
Loading
@@ -30,6 +29,7 @@ struct commit {
*/
struct tree *maybe_tree;
uint32_t graph_pos;
unsigned int index;
};
 
extern int save_commit_buffer;
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment