worktrunk
worktrunk copied to clipboard
wt step push: no --no-ff flag for manual step-by-step merge workflows
Summary
wt step push does not support the new --no-ff flag added in #1438. Users doing manual step-by-step workflows (wt step commit && wt step rebase && wt step push) cannot produce merge commits.
Location
src/main.rs:270:StepCommand::Push { target } => handle_push(target.as_deref(), "Pushed to", None)- The
Noneparameter corresponds tomerge_commit_style, which is alwaysNone(fast-forward only).
Suggested fix
Add a --no-ff flag to the Push variant in StepCommand and pass it through to handle_push.
let's add this?
Done — #1587 adds --no-ff / --ff flags to wt step push, delegating to handle_no_ff_merge() when set. CI is running.