Skip to content

refactor: rename switch config no-cd to cd with reversed polarity - #1860

Merged
max-sixty merged 1 commit into
mainfrom
ff-no-ff
Apr 1, 2026
Merged

max-sixty merged 1 commit into
mainfrom
ff-no-ff

Conversation

@max-sixty

Copy link
Copy Markdown
Owner

Follow-up to #1856 (no-ff → ff). Renames the last negative-sense config field so all boolean config fields use positive names defaulting to true: squash, commit, rebase, remove, verify, ff, and now cd.

The old no-cd field is kept for backward-compatible deserialization with a deprecation warning guiding users to cd = false.

This was written by Claude Code on behalf of @max-sixty

Consistent with all other config fields (squash, commit, rebase, remove,
verify, ff) which use positive-sense names defaulting to true. The old
`no-cd` field is kept for backward-compatible deserialization with a
deprecation warning pointing users to `cd = false`.

Co-Authored-By: Claude <[email protected]>
@max-sixty
max-sixty merged commit e89884b into main Apr 1, 2026
23 checks passed
@max-sixty
max-sixty deleted the ff-no-ff branch April 1, 2026 04:44
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.

2 participants