Add fast-forward-only PR merge style #267
Loading…
Reference in a new issue
No description provided.
Delete branch "pr-merge-fast-forward-only"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
fjord-platform can only promote develop to main safely with Forgejo's fast-forward-only merge style, but fj pr merge could not request it. The API accepts Do: fast-forward-only, so this wires that style through the existing merge path.
What changed
Testing
env RUSTC_WRAPPER= cargo test fast_forward_only; env RUSTC_WRAPPER= cargo test merge_style; env RUSTC_WRAPPER= cargo run -- pr merge --help; local git ff-only positive and negative proof; env RUSTC_WRAPPER= hooks/pre-push.