mirror of
https://git.proxmox.com/git/libgit2
synced 2025-05-29 05:50:21 +00:00
mempack: set the odb backend version
This commit is contained in:
parent
75db289a04
commit
6a8127d71d
@ -177,6 +177,7 @@ int git_mempack_new(git_odb_backend **out)
|
||||
|
||||
db->objects = git_oidmap_alloc();
|
||||
|
||||
db->parent.version = GIT_ODB_BACKEND_VERSION;
|
||||
db->parent.read = &impl__read;
|
||||
db->parent.write = &impl__write;
|
||||
db->parent.read_header = &impl__read_header;
|
||||
|
Loading…
Reference in New Issue
Block a user