Unverified Commit 30917576 by Edward Thomson Committed by GitHub

Merge pull request #6554 from oreiche/oreiche/fix-oid-type-fake-repo

parents 8a62616f 47ebf589
...@@ -1152,6 +1152,8 @@ int git_repository_wrap_odb(git_repository **repo_out, git_odb *odb) ...@@ -1152,6 +1152,8 @@ int git_repository_wrap_odb(git_repository **repo_out, git_odb *odb)
repo = repository_alloc(); repo = repository_alloc();
GIT_ERROR_CHECK_ALLOC(repo); GIT_ERROR_CHECK_ALLOC(repo);
repo->oid_type = GIT_OID_DEFAULT;
git_repository_set_odb(repo, odb); git_repository_set_odb(repo, odb);
*repo_out = repo; *repo_out = repo;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment