summaryrefslogtreecommitdiff
path: root/src/repository.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/repository.h')
-rw-r--r--src/repository.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/repository.h b/src/repository.h
index bcf9b2bc8..1cf426128 100644
--- a/src/repository.h
+++ b/src/repository.h
@@ -11,6 +11,7 @@
#include "index.h"
#include "cache.h"
#include "refs.h"
+#include "buffer.h"
#define DOT_GIT ".git"
#define GIT_DIR DOT_GIT "/"
@@ -44,5 +45,6 @@ void git_object__free(void *object);
int git__parse_oid(git_oid *oid, const char **buffer_out, const char *buffer_end, const char *header);
int git__write_oid(git_odb_stream *src, const char *header, const git_oid *oid);
+void git_oid__writebuf(git_buf *buf, const char *header, const git_oid *oid);
#endif