Skip to content

Commit 6a8127d

Browse files
committed
mempack: set the odb backend version
1 parent 75db289 commit 6a8127d

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/odb_mempack.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -177,6 +177,7 @@ int git_mempack_new(git_odb_backend **out)
177177

178178
db->objects = git_oidmap_alloc();
179179

180+
db->parent.version = GIT_ODB_BACKEND_VERSION;
180181
db->parent.read = &impl__read;
181182
db->parent.write = &impl__write;
182183
db->parent.read_header = &impl__read_header;

0 commit comments

Comments
 (0)