summaryrefslogtreecommitdiff
path: root/src/commit.h
diff options
context:
space:
mode:
authorVicent Marti <tanoku@gmail.com>2010-12-18 02:10:25 +0200
committerVicent Marti <tanoku@gmail.com>2010-12-18 02:35:33 +0200
commit638c2ca4281589b73f2d402bb80775242045144a (patch)
tree8ad909bbf2612ddebe2078ed623f3fb4c9421cf1 /src/commit.h
parent5cccfa899926a93c12af8232c0c0d16c0c9c7ff2 (diff)
downloadlibgit2-638c2ca4281589b73f2d402bb80775242045144a.tar.gz
Rename 'git_person' to 'git_signature'
The new signature struct is public, and contains information about the timezone offset. Must be free'd manually by the user. Signed-off-by: Vicent Marti <tanoku@gmail.com>
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 8c76c3b44..b53ee9b23 100644
--- a/src/commit.h
+++ b/src/commit.h
@@ -11,14 +11,11 @@
struct git_commit {
git_object object;
- time_t commit_time;
- int commit_timezone_offset;
-
git_vector parents;
git_tree *tree;
- git_person *author;
- git_person *committer;
+ git_signature *author;
+ git_signature *committer;
char *message;
char *message_short;