Sami Jawhar sent a patch for the oss-fuzz commit-graph fuzzer. Since commit f1141b4391 (2025-08-15), which refactored parse_commit_graph() to take a repository, that function calls prepare_repo_settings().

The fuzzer sets settings.initialized so that Git reads no configuration. However, prepare_repo_settings() checks for a gitdir before it looks at that flag, and the fuzzer's repository has none. Every input that gets past the header and the three required chunks therefore stops with "BUG: repo-settings.c:40: Cannot add settings for uninitialized repository".

As a result, the fuzzer never reaches the code that reads the optional chunks: generation data and changed-path Bloom filters.

The patch sets a placeholder gitdir, as test-path-utils does. No review comments appear in the excerpts.