summaryrefslogtreecommitdiff
path: root/src/commit.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/commit.h')
-rw-r--r--src/commit.h11
1 files changed, 3 insertions, 8 deletions
diff --git a/src/commit.h b/src/commit.h
index b53ee9b23..3d15c5044 100644
--- a/src/commit.h
+++ b/src/commit.h
@@ -11,22 +11,17 @@
struct git_commit {
git_object object;
- git_vector parents;
+ git_vector parent_oids;
+ git_oid tree_oid;
- git_tree *tree;
git_signature *author;
git_signature *committer;
char *message;
char *message_short;
-
- unsigned full_parse:1;
};
void git_commit__free(git_commit *c);
-int git_commit__parse(git_commit *commit);
-int git_commit__parse_full(git_commit *commit);
-
-int git_commit__writeback(git_commit *commit, git_odb_source *src);
+int git_commit__parse(git_commit *commit, git_odb_object *obj);
#endif