summaryrefslogtreecommitdiff
path: root/commit.h
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2013-07-01 19:41:19 (GMT)
committerJunio C Hamano <gitster@pobox.com>2013-07-01 19:41:19 (GMT)
commit55f34c8d39dac8a90d4944a77cb7614256c62018 (patch)
treeb04cf4d403ede8667bf4fa504e73e66c9c1f8c2f /commit.h
parent7a3187eb788854ed3a20fee30b27e68430f753b7 (diff)
parenta84b794ad0622103cae98639d7176b2451dc6f92 (diff)
downloadgit-55f34c8d39dac8a90d4944a77cb7614256c62018.zip
git-55f34c8d39dac8a90d4944a77cb7614256c62018.tar.gz
git-55f34c8d39dac8a90d4944a77cb7614256c62018.tar.bz2
Merge branch 'jk/commit-info-slab'
Allow adding custom information to commit objects in order to represent unbound number of flag bits etc. * jk/commit-info-slab: commit-slab: introduce a macro to define a slab for new type commit-slab: avoid large realloc commit: allow associating auxiliary info on-demand
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 6e9c7cd..3504721 100644
--- a/commit.h
+++ b/commit.h
@@ -15,7 +15,7 @@ struct commit_list {
struct commit {
struct object object;
void *util;
- unsigned int indegree;
+ unsigned int index;
unsigned long date;
struct commit_list *parents;
struct tree *tree;