summaryrefslogtreecommitdiff
path: root/include/git
diff options
context:
space:
mode:
authorAndreas Ericsson <ae@op5.se>2008-11-18 00:58:02 +0100
committerShawn O. Pearce <spearce@spearce.org>2008-11-18 10:32:53 -0800
commit257bd746cf4b3f1e048a640202493c3e3bcdc1ae (patch)
treebc2c876e099e4a12b7b28779abba186216355c53 /include/git
parenteb160e949ef7a76c384dbbfa0d61d580a11d095b (diff)
downloadlibgit2-257bd746cf4b3f1e048a640202493c3e3bcdc1ae.tar.gz
Use same-directory include for public headers
It doesn't make sense to use "git/somefile.h" in the public git headers, as it's quite likely that projects using them will have a git directory themselves. This alters it, making the public headers look for headers in the same directory they themselves are in. Signed-off-by: Andreas Ericsson <ae@op5.se> Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
Diffstat (limited to 'include/git')
-rw-r--r--include/git/commit.h4
-rw-r--r--include/git/odb.h4
-rw-r--r--include/git/oid.h2
-rw-r--r--include/git/revwalk.h6
-rw-r--r--include/git/zlib.h2
5 files changed, 9 insertions, 9 deletions
diff --git a/include/git/commit.h b/include/git/commit.h
index 88bb8fe27..160148d67 100644
--- a/include/git/commit.h
+++ b/include/git/commit.h
@@ -26,8 +26,8 @@
#ifndef INCLUDE_git_commit_h__
#define INCLUDE_git_commit_h__
-#include "git/common.h"
-#include "git/oid.h"
+#include "common.h"
+#include "oid.h"
/**
* @file git/commit.h
diff --git a/include/git/odb.h b/include/git/odb.h
index 0d65e1969..33f0f5ce1 100644
--- a/include/git/odb.h
+++ b/include/git/odb.h
@@ -26,8 +26,8 @@
#ifndef INCLUDE_git_odb_h__
#define INCLUDE_git_odb_h__
-#include "git/common.h"
-#include "git/oid.h"
+#include "common.h"
+#include "oid.h"
/**
* @file git/odb.h
diff --git a/include/git/oid.h b/include/git/oid.h
index 1ff4954e2..dd95fb53d 100644
--- a/include/git/oid.h
+++ b/include/git/oid.h
@@ -26,7 +26,7 @@
#ifndef INCLUDE_git_oid_h__
#define INCLUDE_git_oid_h__
-#include "git/common.h"
+#include "common.h"
/**
* @file git/oid.h
diff --git a/include/git/revwalk.h b/include/git/revwalk.h
index eb1228f46..cd8748951 100644
--- a/include/git/revwalk.h
+++ b/include/git/revwalk.h
@@ -26,9 +26,9 @@
#ifndef INCLUDE_git_revwalk_h__
#define INCLUDE_git_revwalk_h__
-#include "git/common.h"
-#include "git/odb.h"
-#include "git/commit.h"
+#include "common.h"
+#include "odb.h"
+#include "commit.h"
/**
* @file git/revwalk.h
diff --git a/include/git/zlib.h b/include/git/zlib.h
index 8ba79944d..621dbe638 100644
--- a/include/git/zlib.h
+++ b/include/git/zlib.h
@@ -26,7 +26,7 @@
#ifndef INCLUDE_git_zlib_h__
#define INCLUDE_git_zlib_h__
-#include "git/common.h"
+#include "common.h"
#include <zlib.h>
/**