Skip to content

refactor: rename merge config no-ff to ff with reversed polarity - #1856

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

ff = true (default) is more natural than no-ff = false — now consistent with all other merge config fields which are positive-sense defaulting to true.

CLI flags --no-ff and --ff are unchanged. The old no-ff config key still works via serde deserialization + polarity inversion in normalize_deprecated_fields(), with a deprecation warning.

This was written by Claude Code on behalf of Maximilian Roos

`ff = true` (default) is more natural than `no-ff = false` — now consistent with all other merge config fields which are positive-sense defaulting to true.

The old `no-ff` config key still works: serde deserializes it, `normalize_deprecated_fields()` inverts the value and emits a deprecation warning.

Co-Authored-By: Claude <[email protected]>
@max-sixty
max-sixty merged commit b459b7a into main Apr 1, 2026
23 checks passed
@max-sixty
max-sixty deleted the ff-no-ff branch April 1, 2026 03:16
max-sixty added a commit that referenced this pull request Apr 1, 2026
…#1860)

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_

Co-authored-by: Claude <[email protected]>
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