git/list[1] front-page[2] threads[3] people[4] search[5] about
 

[PATCH 0/1] rebase: add --[no-]edit to --continue

From
HSHugo Sales <hugo@hsal.es>
Date
Jul 21, 2026, 14:04 UTC
Message-ID
<20260721140443.1809379-1-hugo@hsal.es>

When a rebase stops for conflicts and the user runs `git rebase --continue`, the merge backend opens $EDITOR so the commit message can be revised. That is often useful, but not always: sometimes the user only wants to keep the message that is already there.

This series adds:
- `git rebase --continue --no-edit` to commit without opening an editor
- `rebase.noEdit` to make that the default on continue
- `git rebase --continue --edit` to override `rebase.noEdit`

The command-line flags apply only to the current `--continue` invocation, not to later picks in the same rebase.

Tests are added in t3436. I also ran all tests locally.
Hugo Sales (1):
  rebase: add --[no-]edit to --continue
 Documentation/config/rebase.adoc |  6 ++++
 Documentation/git-rebase.adoc    | 17 +++++++++--
 builtin/rebase.c                 | 29 ++++++++++++++++--
 sequencer.c                      | 29 +++++++++++++++++-
 t/t3436-rebase-more-options.sh   | 52 ++++++++++++++++++++++++++++++++
 5 files changed, 126 insertions(+), 7 deletions(-)
-- 
2.54.0
Next: Hugo Sales
Message 1 of 5 in “rebase: add --[no-]edit to --continue”
  1. 0/1 rebase: add --[no-]edit to --continueHugo Sales, Jul 21, 2026
  2. 1/1 rebase: add --[no-]edit to --continueHugo Sales, Jul 21, 2026
  3. Junio C HamanoJul 21, 2026
  4. Phillip WoodJul 22, 2026
  5. Junio C HamanoJul 22, 2026

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.