mirror of
https://github.com/libgit2/libgit2.git
synced 2026-01-25 02:56:17 +00:00
odb: add git_odb_options
Users will need to be able to specify the object id type for the given object database; add a new `git_odb_options` with that option.
This commit is contained in:
@@ -36,7 +36,7 @@ int LLVMFuzzerInitialize(int *argc, char ***argv)
|
||||
fprintf(stderr, "Failed to limit maximum pack object count\n");
|
||||
abort();
|
||||
}
|
||||
if (git_odb_new(&odb) < 0) {
|
||||
if (git_odb_new(&odb, NULL) < 0) {
|
||||
fprintf(stderr, "Failed to create the odb\n");
|
||||
abort();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user