summaryrefslogtreecommitdiff
path: root/src/commit.h
diff options
context:
space:
mode:
authorVicent Marti <tanoku@gmail.com>2013-07-10 21:06:53 +0200
committerVicent Marti <tanoku@gmail.com>2013-07-10 21:06:53 +0200
commitc0e529f379ded1311c7d8caba4af7c20c540c987 (patch)
tree2c2594c00603a6032d8bbdecec458387475d8ea5 /src/commit.h
parentbf3ee3cf3130d50cb1813c3ec31993a96dae0607 (diff)
parent406dd556e20117b3cc2e5c53410d65314fd14056 (diff)
downloadlibgit2-c0e529f379ded1311c7d8caba4af7c20c540c987.tar.gz
Merge branch 'arrbee/examples-log' into development
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 d0981b125..22fc898a1 100644
--- a/src/commit.h
+++ b/src/commit.h
@@ -10,14 +10,14 @@
#include "git2/commit.h"
#include "tree.h"
#include "repository.h"
-#include "vector.h"
+#include "array.h"
#include <time.h>
struct git_commit {
git_object object;
- git_vector parent_ids;
+ git_array_t(git_oid) parent_ids;
git_oid tree_id;
git_signature *author;
@@ -25,6 +25,7 @@ struct git_commit {
char *message_encoding;
char *message;
+ char *raw_header;
};
void git_commit__free(void *commit);