Skip to content

Fix branch_data_mode 'none' error message to point at omission#174

Draft
sandshoes wants to merge 1 commit into
protm-1348from
worktree-sharded-watching-pie
Draft

Fix branch_data_mode 'none' error message to point at omission#174
sandshoes wants to merge 1 commit into
protm-1348from
worktree-sharded-watching-pie

Conversation

@sandshoes

Copy link
Copy Markdown
Contributor

Fixes the failing test throws when branch_data_mode is none, pointing at omission.

Commit bdc22b8 updated the test to expect a dedicated hint when a config sets branch_data_mode: "none", but resolveBranchDataMode was never given that special case — 'none' fell through to the generic "Invalid branch_data_mode" error. This adds an explicit check so users are told to omit the field instead:

Invalid branch_data_mode 'none'. Omit branch_data_mode to create branches without data (the default).

Full suite passes (1062 tests).

🤖 Generated with Claude Code

The test expecting this hint was added in bdc22b8 but the code still
fell through to the generic invalid-value error.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant