# commit --fixup series would allow -m, -F and -c/-C with every fixup variant

_Erik Cervin-Edin wants amend: and reword: fixups to work without an editor, and has reworked the series after Phillip Wood's review._

Section: Patches. Edition of 2026-11-25. Written by an AI editor from the thread "[PATCH 0/1] commit: allow -m/-F with --fixup=amend: or reword:" (22 messages): https://gitlist.dev/t/65653

Today `--fixup` accepts -m but not -F, and the amend and reword variants take a message only through an editor or a GIT_EDITOR script standing in for one. Erik Cervin-Edin argues this makes them poorly suited to non-interactive workflows, including use by AI coding agents. He also describes rewording many commits on a branch as tedious with an interactive rebase.

He notes that earlier discussions left out -c/-C/-F, and dropped -m for amend fixups, for lack of a clear use case.

The latest revision adds a new first patch that refactors prepare_to_commit(). It writes the --fixup subject in a block before the message-source chain, as --squash already does. His changelog says Phillip Wood found it unfortunate on v3 that the -m and -F arms needed `!fixup_message` guards while the fixup arm duplicated their work. Cervin-Edin agreed and had first wanted to avoid a refactor.

With the subject written up front, the -m and -F arms serve every fixup variant unchanged. A further patch teaches the fixup path to take the body from the commit given to -c/-C, reusing prepare_amend_commit() as --fixup=amend does. He calls this niche but argues for consistency.

The excerpts do not show whether reviewers have accepted the new structure.
