Skip to content

Commit 84bcae6

Browse files
committed
docs: add buffer.h & oid.h to types.h
Otherwise docurium/clang chokes on the types, and ignores the documentation comments altogether.
1 parent 81ea995 commit 84bcae6

File tree

3 files changed

+5
-0
lines changed

3 files changed

+5
-0
lines changed

include/git2/stash.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99

1010
#include "common.h"
1111
#include "types.h"
12+
#include "checkout.h"
1213

1314
/**
1415
* @file git2/stash.h

include/git2/transaction.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
#define INCLUDE_git_transaction_h__
99

1010
#include "common.h"
11+
#include "types.h"
1112

1213
/**
1314
* @file git2/transaction.h

include/git2/types.h

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,9 @@ typedef int64_t git_time_t;
6363

6464
#endif
6565

66+
#include "buffer.h"
67+
#include "oid.h"
68+
6669
/** Basic type (loose or packed) of any Git object. */
6770
typedef enum {
6871
GIT_OBJ_ANY = -2, /**< Object can be any of the following */

0 commit comments

Comments
 (0)