diff options
author | Vicent Marti <tanoku@gmail.com> | 2010-12-03 22:22:10 +0200 |
---|---|---|
committer | Vicent Marti <tanoku@gmail.com> | 2010-12-06 01:14:15 +0200 |
commit | d12299fe22e549a20e632668fdbe13cab9def9df (patch) | |
tree | 9d70b6bc154e776c49eaaddd9a66eb97aebab661 /src/git/commit.h | |
parent | 7d7cd8857a451ff50b126e452bcbdc0fb397db35 (diff) | |
download | libgit2-d12299fe22e549a20e632668fdbe13cab9def9df.tar.gz |
Change include structure for the project
The maze with include dependencies has been fixed.
There is now a global include:
#include <git.h>
The git_odb_backend API has been exposed.
Signed-off-by: Vicent Marti <tanoku@gmail.com>
Diffstat (limited to 'src/git/commit.h')
-rw-r--r-- | src/git/commit.h | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/src/git/commit.h b/src/git/commit.h index 056997f45..54ecb622e 100644 --- a/src/git/commit.h +++ b/src/git/commit.h @@ -2,9 +2,8 @@ #define INCLUDE_git_commit_h__ #include "common.h" +#include "types.h" #include "oid.h" -#include "tree.h" -#include "repository.h" /** * @file git/commit.h @@ -15,9 +14,6 @@ */ GIT_BEGIN_DECL -/** Parsed representation of a commit object. */ -typedef struct git_commit git_commit; - /** * Lookup a commit object from a repository. * The generated commit object is owned by the revision |