Files
git/builtin
Johannes Schindelin 1644c73c6d rebase-helper --make-script: introduce a flag to rebase merges
The sequencer just learned new commands intended to recreate branch
structure (similar in spirit to --preserve-merges, but with a
substantially less-broken design).

Let's allow the rebase--helper to generate todo lists making use of
these commands, triggered by the new --rebase-merges option. For a
commit topology like this (where the HEAD points to C):

	- A - B - C
	    \   /
	      D

the generated todo list would look like this:

	# branch D
	pick 0123 A
	label branch-point
	pick 1234 D
	label D

	reset branch-point
	pick 2345 B
	merge -C 3456 D # C

To keep things simple, we first only implement support for merge commits
with exactly two parents, leaving support for octopus merges to a later
patch series.

All merge-rebasing todo lists start with a hard-coded `label onto` line.
This makes it convenient to refer later on to the revision onto which
everything is rebased, e.g. as starting point for branches other than
the very first one.

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
2018-04-26 12:28:42 +09:00
..
2018-04-11 18:11:00 +09:00
2017-10-06 10:07:18 +09:00
2018-04-10 08:25:45 +09:00
2018-04-10 08:25:45 +09:00
2017-10-07 16:27:55 +09:00
2018-04-11 13:09:55 +09:00
2018-04-11 13:09:55 +09:00
2018-04-11 13:09:55 +09:00
2018-04-11 13:09:55 +09:00
2017-08-26 22:55:09 -07:00
2018-04-10 08:25:45 +09:00
2018-03-14 12:01:07 -07:00
2017-12-08 09:52:42 -08:00
2018-04-10 08:25:45 +09:00
2018-04-10 08:25:45 +09:00
2017-12-13 11:15:14 -08:00
2018-04-10 08:25:45 +09:00
2017-08-22 10:29:03 -07:00
2018-04-25 13:28:59 +09:00
2018-04-10 08:25:45 +09:00
2018-04-10 08:25:45 +09:00