summaryrefslogtreecommitdiff
path: root/src/git/tree.h
diff options
context:
space:
mode:
authorVicent Marti <tanoku@gmail.com>2010-12-03 22:22:10 +0200
committerVicent Marti <tanoku@gmail.com>2010-12-06 01:14:15 +0200
commitd12299fe22e549a20e632668fdbe13cab9def9df (patch)
tree9d70b6bc154e776c49eaaddd9a66eb97aebab661 /src/git/tree.h
parent7d7cd8857a451ff50b126e452bcbdc0fb397db35 (diff)
downloadlibgit2-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/tree.h')
-rw-r--r--src/git/tree.h9
1 files changed, 1 insertions, 8 deletions
diff --git a/src/git/tree.h b/src/git/tree.h
index f471113a8..d935169d8 100644
--- a/src/git/tree.h
+++ b/src/git/tree.h
@@ -2,8 +2,8 @@
#define INCLUDE_git_tree_h__
#include "common.h"
+#include "types.h"
#include "oid.h"
-#include "repository.h"
/**
* @file git/tree.h
@@ -14,13 +14,6 @@
*/
GIT_BEGIN_DECL
-
-/** Representation of each one of the entries in a tree object. */
-typedef struct git_tree_entry git_tree_entry;
-
-/** Representation of a tree object. */
-typedef struct git_tree git_tree;
-
/**
* Lookup a tree object from the repository.
* The generated tree object is owned by the revision