Skip to content

Commit caafecf

Browse files
dschogitster
authored andcommitted
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]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent 2b6ad0f commit caafecf

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

Documentation/git-rebase.txt

Lines changed: 4 additions & 3 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,7 +889,8 @@ 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
892+
merge strategy for regular merges, and `octopus` for octopus merges,
893+
strategy, with no way to choose a different one. To work around
893894
this, an `exec` command can be used to call `git merge` explicitly,
894895
using the fact that the labels are worktree-local refs (the ref
895896
`refs/rewritten/onto` would correspond to the label `onto`, for example).

0 commit comments

Comments
 (0)