summaryrefslogtreecommitdiff
path: root/src/commit.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/commit.h')
-rw-r--r--src/commit.h7
1 files changed, 2 insertions, 5 deletions
diff --git a/src/commit.h b/src/commit.h
index b53ee9b23..aaf349ca6 100644
--- a/src/commit.h
+++ b/src/commit.h
@@ -11,21 +11,18 @@
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);