summaryrefslogtreecommitdiff
path: root/src/git/index.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/index.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/index.h')
-rw-r--r--src/git/index.h6
1 files changed, 1 insertions, 5 deletions
diff --git a/src/git/index.h b/src/git/index.h
index fd5710622..8bdced6a3 100644
--- a/src/git/index.h
+++ b/src/git/index.h
@@ -2,7 +2,7 @@
#define INCLUDE_git_index_h__
#include "common.h"
-#include "oid.h"
+#include "types.h"
/**
* @file git/index.h
@@ -19,10 +19,6 @@ GIT_BEGIN_DECL
#define GIT_IDXENTRY_VALID (0x8000)
#define GIT_IDXENTRY_STAGESHIFT 12
-/** Memory representation of an index file. */
-typedef struct git_index git_index;
-
-
/** Time used in a git index entry */
typedef struct {
unsigned int seconds;