]> git.ipfire.org Git - thirdparty/git.git/commitdiff
doc: improve readability of --rebase-merges in git-rebase
authorNaveen Nathan <naveen@lastninja.net>
Mon, 11 Nov 2019 23:21:37 +0000 (10:21 +1100)
committerJunio C Hamano <gitster@pobox.com>
Tue, 12 Nov 2019 04:14:19 +0000 (13:14 +0900)
When --preserve-merges was deprecated in 427c3bd28a a sentence
was introduced describing the difference between --rebase-merges and
--preserve-merges which is a little unclear and difficult to parse.
This patch improves readability while retaining original meaning.

Signed-off-by: Naveen Nathan <naveen@lastninja.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Documentation/git-rebase.txt

index 639a4179d18e4d154f30351aaa4f3b3c79c48c1e..0c4f038dd6077fb47436e82c2ce80b78fa6b9304 100644 (file)
@@ -443,8 +443,8 @@ the `rebase-cousins` mode is turned on, such commits are instead rebased
 onto `<upstream>` (or `<onto>`, if specified).
 +
 The `--rebase-merges` mode is similar in spirit to the deprecated
-`--preserve-merges`, but in contrast to that option works well in interactive
-rebases: commits can be reordered, inserted and dropped at will.
+`--preserve-merges` but works with interactive rebases,
+where commits can be reordered, inserted and dropped at will.
 +
 It is currently only possible to recreate the merge commits using the
 `recursive` merge strategy; Different merge strategies can be used only via