summaryrefslogtreecommitdiff
path: root/src/odb.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/odb.h')
-rw-r--r--src/odb.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/odb.h b/src/odb.h
index 7c018cc50..9abf594e8 100644
--- a/src/odb.h
+++ b/src/odb.h
@@ -36,9 +36,11 @@ struct git_odb_object {
struct git_odb {
git_refcount rc;
git_vector backends;
- git_cache cache;
+ git_cache own_cache;
};
+void git_odb_object__free(git_odb_object *object);
+
/*
* Hash a git_rawobj internally.
* The `git_rawobj` is supposed to be previously initialized