summaryrefslogtreecommitdiff
path: root/src/commit.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/commit.h')
-rw-r--r--src/commit.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/commit.h b/src/commit.h
index 75e6d95a8..818d98c06 100644
--- a/src/commit.h
+++ b/src/commit.h
@@ -2,6 +2,7 @@
#define INCLUDE_commit_h__
#include "git/commit.h"
+#include "revobject.h"
#include <time.h>
@@ -22,9 +23,9 @@ typedef struct git_commit_list git_commit_list;
typedef struct git_commit_node git_commit_node;
struct git_commit {
- git_oid id;
+ git_revpool_object object;
+
time_t commit_time;
- git_revpool *pool;
git_commit_list parents;
unsigned short in_degree;