]> git.hungrycats.org Git - bees/commitdiff
config-v2: drop the empty [state] section header
authorZygo Blaxell <bees@furryterror.org>
Sat, 10 Oct 2026 20:11:14 +0000 (16:11 -0400)
committerZygo Blaxell <bees@furryterror.org>
Sun, 11 Oct 2026 00:48:00 +0000 (20:48 -0400)
Version 2 states nothing in [state] itself, only in [state.hash] and
[state.point], so the bare header resolved to nothing.  Resolution is
unchanged.

Assisted-by: Claude-Code:claude-opus-5-5
src/bees-config-v2.cc

index 34f502ec4bf1e85b503de2082d7ed2226b663638..0241605a8501ab649f8795c78a043335fad8d650 100644 (file)
@@ -138,8 +138,6 @@ static const char bees_config_v2[] = R"--v2-config--(
         # flag.  See docs/config-file.md for the tradeoff.
         commit-root = yes
 
-[state]
-
 [state.hash]
 
         # Insert new hashes at a random position in the per-bucket