summaryrefslogtreecommitdiff
path: root/src/git/commit.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/git/commit.h')
-rw-r--r--src/git/commit.h6
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