fuzz: reorganise the path for existing oss-fuzz fuzzers

In order to provide a better organisation for oss-fuzz fuzzers and to avoid top-level clustters in the git repository when more fuzzers are introduced, move the existing fuzzer-related sources to their own oss-fuzz/ hierarchy. Grouping the fuzzers into their own directory, separate their application on fuzz-testing from the core functionalities of the git code, prvides better and tidier structure the oss-fuzz fuzzing library to manage, locate, build and execute those fuzzers for fuzz-testing purposes in future development. Signed-off-by: Arthur Chan <arthur.chan@adalogics.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>

Arthur Chan committed Sep 19, 2022 at 14:36 UTC 6713bfc70c4dc6da1fa4084f000b72f5d74fecfb
6 files changed +6 -6
.gitignore
-3
@@ -1,7 +1,4 @@
1 -/fuzz-commit-graph
1 /fuzz_corpora
3 -/fuzz-pack-headers
4 -/fuzz-pack-idx
2 /GIT-BUILD-OPTIONS
3 /GIT-CFLAGS
4 /GIT-LDFLAGS
Makefile
+3 -3
@@ -681,9 +681,9 @@ SCRIPTS = $(SCRIPT_SH_GEN) \
681
682 ETAGS_TARGET = TAGS
683
684 -FUZZ_OBJS += fuzz-commit-graph.o
685 -FUZZ_OBJS += fuzz-pack-headers.o
686 -FUZZ_OBJS += fuzz-pack-idx.o
684 +FUZZ_OBJS += oss-fuzz/fuzz-commit-graph.o
685 +FUZZ_OBJS += oss-fuzz/fuzz-pack-headers.o
686 +FUZZ_OBJS += oss-fuzz/fuzz-pack-idx.o
687 .PHONY: fuzz-objs
688 fuzz-objs: $(FUZZ_OBJS)
689
oss-fuzz/.gitignore new
+3
@@ -0,0 +1,3 @@
1 +fuzz-commit-graph
2 +fuzz-pack-headers
3 +fuzz-pack-idx
oss-fuzz/fuzz-commit-graph.c renamed
oss-fuzz/fuzz-pack-headers.c renamed
oss-fuzz/fuzz-pack-idx.c renamed