commit-reach(get_octopus_merge_bases): pass on "missing commits" errors
[git.git] / oss-fuzz / dummy-cmd-main.c
blob071cb231ba92e3db4e1c3396b6ef09ba17ca8dce
1 #include "git-compat-util.h"
3 /*
4 * When linking the fuzzers, we link against common-main.o to pick up some
5 * symbols. However, even though we ignore common-main:main(), we still need to
6 * provide all the symbols it references. In the fuzzers' case, we need to
7 * provide a dummy cmd_main() for the linker to be happy. It will never be
8 * executed.
9 */
11 int cmd_main(int argc, const char **argv) {
12 BUG("We should not execute cmd_main() from a fuzz target");
13 return 1;