Commit 2cbca8b06cb7cab08d916438a63e19734256b3fa

Vicent Marti 2011-11-18T01:43:27

include: Unify internal include strategies Do not add the `git2` path to internal includes, or that will cause an extra path dependency.

diff --git a/include/git2/indexer.h b/include/git2/indexer.h
index bd9b9b6..1e5eb38 100644
--- a/include/git2/indexer.h
+++ b/include/git2/indexer.h
@@ -7,8 +7,8 @@
 #ifndef _INCLUDE_git_indexer_h__
 #define _INCLUDE_git_indexer_h__
 
-#include "git2/common.h"
-#include "git2/oid.h"
+#include "common.h"
+#include "oid.h"
 
 GIT_BEGIN_DECL
 
diff --git a/include/git2/refspec.h b/include/git2/refspec.h
index eccbeaa..0f8b13c 100644
--- a/include/git2/refspec.h
+++ b/include/git2/refspec.h
@@ -7,7 +7,7 @@
 #ifndef INCLUDE_git_refspec_h__
 #define INCLUDE_git_refspec_h__
 
-#include "git2/types.h"
+#include "types.h"
 
 /**
  * @file git2/refspec.h
diff --git a/include/git2/remote.h b/include/git2/remote.h
index e0be937..54116c2 100644
--- a/include/git2/remote.h
+++ b/include/git2/remote.h
@@ -7,9 +7,9 @@
 #ifndef INCLUDE_git_remote_h__
 #define INCLUDE_git_remote_h__
 
-#include "git2/common.h"
-#include "git2/repository.h"
-#include "git2/refspec.h"
+#include "common.h"
+#include "repository.h"
+#include "refspec.h"
 /**
  * @file git2/remote.h
  * @brief Git remote management functions