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:
Edward Thomson
2022-01-26 13:02:49 -05:00
parent 8444b6dce7
commit 3eba9181cf
16 changed files with 61 additions and 25 deletions

View File

@@ -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();
}