mirror of
https://github.com/git/git
synced 2024-11-05 18:59:29 +00:00
a034e9106f
The vast majority of files including object-store.h did not need dir.h nor khash.h. Split the header into two files, and let most just depend upon object-store-ll.h, while letting the two callers that need it depend on the full object-store.h. After this patch: $ git grep -h include..object-store | sort | uniq -c 2 #include "object-store.h" 129 #include "object-store-ll.h" Diff best viewed with `--color-moved`. Signed-off-by: Elijah Newren <newren@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
14 lines
309 B
C
14 lines
309 B
C
#include "git-compat-util.h"
|
|
#include "object-store-ll.h"
|
|
#include "packfile.h"
|
|
|
|
int LLVMFuzzerTestOneInput(const uint8_t *data, size_t size);
|
|
|
|
int LLVMFuzzerTestOneInput(const uint8_t *data, size_t size)
|
|
{
|
|
struct packed_git p;
|
|
|
|
load_idx("fuzz-input", GIT_SHA1_RAWSZ, (void *)data, size, &p);
|
|
|
|
return 0;
|
|
}
|