vendor/libgit2/src/libgit2/object.h in rugged-1.6.5 vs vendor/libgit2/src/libgit2/object.h in rugged-1.7.1
- old
+ new
@@ -34,9 +34,15 @@
const char *data,
size_t size,
git_object_t object_type,
git_oid_t oid_type);
+int git_object__init_from_odb_object(
+ git_object **object_out,
+ git_repository *repo,
+ git_odb_object *odb_obj,
+ git_object_t type);
+
int git_object__from_odb_object(
git_object **object_out,
git_repository *repo,
git_odb_object *odb_obj,
git_object_t type);