summaryrefslogtreecommitdiff
path: root/src/odb_pack.c
diff options
context:
space:
mode:
authorRussell Belfer <rb@github.com>2013-04-19 12:48:33 -0700
committerRussell Belfer <rb@github.com>2013-04-21 11:50:55 -0700
commit83cc70d9fec5f81d07f9fc4133c9515527efb9af (patch)
treea3ddac356c641e6accf8396d08afbebb7bb52336 /src/odb_pack.c
parent83041c711cd7d9fccb7a1327e642ce33f0705370 (diff)
downloadlibgit2-83cc70d9fec5f81d07f9fc4133c9515527efb9af.tar.gz
Move odb_backend implementors stuff into git2/sys
This moves some of the odb_backend stuff that is related to the internals of an odb_backend implementation into include/git2/sys. Some of the stuff related to streaming I left in include/git2 because it seemed like it would be reasonably needed by a normal user who wanted to stream objects into and out of the ODB. Also, I added APIs for traversing the list of backends so that some of the tests would not need to access ODB internals.
Diffstat (limited to 'src/odb_pack.c')
-rw-r--r--src/odb_pack.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/odb_pack.c b/src/odb_pack.c
index 7240a4ac7..773e14974 100644
--- a/src/odb_pack.c
+++ b/src/odb_pack.c
@@ -8,7 +8,8 @@
#include "common.h"
#include <zlib.h>
#include "git2/repository.h"
-#include "git2/oid.h"
+#include "git2/indexer.h"
+#include "git2/sys/odb_backend.h"
#include "fileops.h"
#include "hash.h"
#include "odb.h"