diff --git a/commit.h b/commit.h index 838f6a6b266e220711653c4e67d6c8fe6d725196..4432458367f16ca23336737ee4d4e111aca85f06 100644 --- a/commit.h +++ b/commit.h @@ -16,9 +16,13 @@ struct commit_list { struct commit_list *next; }; +/* + * The size of this struct matters in full repo walk operations like + * 'git clone' or 'git gc'. Consider using commit-slab to attach data + * to a commit instead of adding new fields here. + */ struct commit { struct object object; - void *util; unsigned int index; timestamp_t date; struct commit_list *parents;