summaryrefslogtreecommitdiff
path: root/include/git2
diff options
context:
space:
mode:
authorEtienne Samson <samson.etienne@gmail.com>2018-03-22 23:27:20 +0100
committerEtienne Samson <samson.etienne@gmail.com>2018-05-07 21:50:15 +0200
commit84bcae6c08384ce32ab77a7b5b48098925b61918 (patch)
tree289ca964639ee053bb8b3f667caa18e83dfb5441 /include/git2
parent81ea99577cd014d5a023b0713e1fe16e74f7952a (diff)
downloadlibgit2-84bcae6c08384ce32ab77a7b5b48098925b61918.tar.gz
docs: add buffer.h & oid.h to types.h
Otherwise docurium/clang chokes on the types, and ignores the documentation comments altogether.
Diffstat (limited to 'include/git2')
-rw-r--r--include/git2/stash.h1
-rw-r--r--include/git2/transaction.h1
-rw-r--r--include/git2/types.h3
3 files changed, 5 insertions, 0 deletions
diff --git a/include/git2/stash.h b/include/git2/stash.h
index 3af9cde38..f9e92abaa 100644
--- a/include/git2/stash.h
+++ b/include/git2/stash.h
@@ -9,6 +9,7 @@
#include "common.h"
#include "types.h"
+#include "checkout.h"
/**
* @file git2/stash.h
diff --git a/include/git2/transaction.h b/include/git2/transaction.h
index 00ca13993..4938570b5 100644
--- a/include/git2/transaction.h
+++ b/include/git2/transaction.h
@@ -8,6 +8,7 @@
#define INCLUDE_git_transaction_h__
#include "common.h"
+#include "types.h"
/**
* @file git2/transaction.h
diff --git a/include/git2/types.h b/include/git2/types.h
index ad34e0170..049c2d2f2 100644
--- a/include/git2/types.h
+++ b/include/git2/types.h
@@ -63,6 +63,9 @@ typedef int64_t git_time_t;
#endif
+#include "buffer.h"
+#include "oid.h"
+
/** Basic type (loose or packed) of any Git object. */
typedef enum {
GIT_OBJ_ANY = -2, /**< Object can be any of the following */