Skip to content

Commit 45a21db

Browse files
committed
rebase --rebase-merges: adjust man page for octopus support
Now that we support octopus merges in the `--rebase-merges` mode, we should give users who actually read the manuals a chance to know about this fact. Signed-off-by: Johannes Schindelin <[email protected]>
1 parent 8210d39 commit 45a21db

File tree

1 file changed

+8
-6
lines changed

1 file changed

+8
-6
lines changed

Documentation/git-rebase.txt

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -879,8 +879,8 @@ rescheduled immediately, with a helpful message how to edit the todo list
879879
(this typically happens when a `reset` command was inserted into the todo
880880
list manually and contains a typo).
881881

882-
The `merge` command will merge the specified revision into whatever is
883-
HEAD at that time. With `-C <original-commit>`, the commit message of
882+
The `merge` command will merge the specified revision(s) into whatever
883+
is HEAD at that time. With `-C <original-commit>`, the commit message of
884884
the specified merge commit will be used. When the `-C` is changed to
885885
a lower-case `-c`, the message will be opened in an editor after a
886886
successful merge so that the user can edit the message.
@@ -889,10 +889,12 @@ If a `merge` command fails for any reason other than merge conflicts (i.e.
889889
when the merge operation did not even start), it is rescheduled immediately.
890890

891891
At this time, the `merge` command will *always* use the `recursive`
892-
merge strategy, with no way to choose a different one. To work around
893-
this, an `exec` command can be used to call `git merge` explicitly,
894-
using the fact that the labels are worktree-local refs (the ref
895-
`refs/rewritten/onto` would correspond to the label `onto`, for example).
892+
merge strategy for regular merges, and the `octopus` strategy for
893+
octopus merges, strategy, with no way to choose a different one. To work
894+
around this, an `exec` command can be used to call `git merge`
895+
explicitly, using the fact that the labels are worktree-local refs (the
896+
ref `refs/rewritten/onto` would correspond to the label `onto`, for
897+
example).
896898

897899
Note: the first command (`label onto`) labels the revision onto which
898900
the commits are rebased; The name `onto` is just a convention, as a nod

0 commit comments

Comments
 (0)