All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/1] rebase: add --[no-]edit to --continue
@ 2026-07-21 14:04 Hugo Sales
  2026-07-21 14:04 ` [PATCH 1/1] " Hugo Sales
  2026-07-21 18:04 ` [PATCH 0/1] " Junio C Hamano
  0 siblings, 2 replies; 5+ messages in thread
From: Hugo Sales @ 2026-07-21 14:04 UTC (permalink / raw)
  To: git; +Cc: Hugo Sales

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

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2026-07-22 15:36 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-07-21 14:04 [PATCH 0/1] rebase: add --[no-]edit to --continue Hugo Sales
2026-07-21 14:04 ` [PATCH 1/1] " Hugo Sales
2026-07-21 18:04 ` [PATCH 0/1] " Junio C Hamano
2026-07-22 13:39   ` Phillip Wood
2026-07-22 15:36     ` Junio C Hamano

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.