Andrew's git
/
gitweb.git
/ diff
summary
|
log
|
commit
| diff |
tree
commit
grep
author
committer
pickaxe
?
re
Merge branch 'nd/pack-struct-commit'
author
Junio C Hamano
<gitster@pobox.com>
Wed, 30 May 2018 05:04:08 +0000
(14:04 +0900)
committer
Junio C Hamano
<gitster@pobox.com>
Wed, 30 May 2018 05:04:08 +0000
(14:04 +0900)
Memory optimization.
* nd/pack-struct-commit:
commit.h: rearrange 'index' to shrink struct commit
commit.h
patch
|
blob
|
history
raw
(from parent 1:
26597cb
)
diff --git
a/commit.h
b/commit.h
index 10e34e1a18b726b0168a9fe2e4937a23d6cefd11..c3af512f8b1b90b3963d0921f7ec0d0a43a2fcbe 100644
(file)
--- a/
commit.h
+++ b/
commit.h
@@
-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;