Merge pull request #4044 from jacquesg/mempack-version

mempack: set the odb backend version
This commit is contained in:
Edward Thomson 2016-12-27 12:26:44 +00:00 committed by GitHub
commit 7829b4118a

View File

@ -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;