From 2cbca8b06cb7cab08d916438a63e19734256b3fa Mon Sep 17 00:00:00 2001 From: Vicent Marti Date: Fri, 18 Nov 2011 01:43:27 +0100 Subject: [PATCH] include: Unify internal include strategies Do not add the `git2` path to internal includes, or that will cause an extra path dependency. --- include/git2/indexer.h | 4 ++-- include/git2/refspec.h | 2 +- include/git2/remote.h | 6 +++--- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/include/git2/indexer.h b/include/git2/indexer.h index bd9b9b6ab..1e5eb380c 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 eccbeaa7c..0f8b13cec 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 e0be93757..54116c22e 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