Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.kernel.org/pub/scm/git/git.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2018-05-30 08:04:08 +0300
committerJunio C Hamano <gitster@pobox.com>2018-05-30 08:04:08 +0300
commita4eae17c2c3f898d2838000c5f1b7c7d66c62316 (patch)
tree3729eac9d5cbc2ca3fe0ded926283bfdbd832929 /commit.h
parent26597cb0cceb82b315c543f1cc02bbb72c537eaa (diff)
parent25f859fdf49c37780685d07ebda81b7716fb5879 (diff)
Merge branch 'nd/pack-struct-commit'
Memory optimization. * nd/pack-struct-commit: commit.h: rearrange 'index' to shrink struct commit
Diffstat (limited to 'commit.h')
-rw-r--r--commit.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/commit.h b/commit.h
index 10e34e1a18..c3af512f8b 100644
--- 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;