Skip to content

pr-git-2337/HaraldNordgren/rebase-fixup-fold-v1

tagged this 14 Jun 19:25
Adds git rebase --autosquash --fixup [<upstream>] to fold a range of commits
into its oldest one, reusing that commit's message.

Related idea: https://github.com/gitgitgadget/git/issues/1135

Harald Nordgren (2):
  t3415: remove prepare-commit-msg hook after use
  rebase: add --fixup-all to fold a range

 Documentation/git-rebase.adoc |  11 ++++
 builtin/rebase.c              |  13 ++++-
 sequencer.c                   |  24 +++++++-
 sequencer.h                   |   2 +-
 t/t3415-rebase-autosquash.sh  | 106 ++++++++++++++++++++++++++++++++++
 5 files changed, 152 insertions(+), 4 deletions(-)

base-commit: ea97ad8d017de0c9037451a78008a0fd60abea0c

Submitted-As: https://lore.kernel.org/git/pull.2337.git.git.1781465141.gitgitgadget@gmail.com
Assets 2
Loading