Skip to content

Commit 2cbca8b

Browse files
author
Vicent Marti
committed
include: Unify internal include strategies
Do not add the `git2` path to internal includes, or that will cause an extra path dependency.
1 parent d1a721c commit 2cbca8b

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

include/git2/indexer.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@
77
#ifndef _INCLUDE_git_indexer_h__
88
#define _INCLUDE_git_indexer_h__
99

10-
#include "git2/common.h"
11-
#include "git2/oid.h"
10+
#include "common.h"
11+
#include "oid.h"
1212

1313
GIT_BEGIN_DECL
1414

include/git2/refspec.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
#ifndef INCLUDE_git_refspec_h__
88
#define INCLUDE_git_refspec_h__
99

10-
#include "git2/types.h"
10+
#include "types.h"
1111

1212
/**
1313
* @file git2/refspec.h

include/git2/remote.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,9 @@
77
#ifndef INCLUDE_git_remote_h__
88
#define INCLUDE_git_remote_h__
99

10-
#include "git2/common.h"
11-
#include "git2/repository.h"
12-
#include "git2/refspec.h"
10+
#include "common.h"
11+
#include "repository.h"
12+
#include "refspec.h"
1313
/**
1414
* @file git2/remote.h
1515
* @brief Git remote management functions

0 commit comments

Comments
 (0)