Skip to content

Commit 656e23c

Browse files
newrenderrickstolee
authored andcommitted
git-rebase.txt: correct out-of-date and misleading text about renames
Commit 58634db ("rebase: Allow merge strategies to be used when rebasing", 2006-06-21) added the --merge option to git-rebase so that renames could be detected (at least when using the `recursive` merge backend). However, git-am -3 gained that same ability in commit 579c9bb ("Use merge-recursive in git-am -3.", 2006-12-28). As such, the comment about being able to detect renames is not particularly noteworthy. Remove it. While tweaking this description, add a quick comment about when --merge became the default. Signed-off-by: Elijah Newren <[email protected]>
1 parent b20ebe9 commit 656e23c

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

Documentation/git-rebase.txt

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -340,9 +340,7 @@ See also INCOMPATIBLE OPTIONS below.
340340

341341
-m::
342342
--merge::
343-
Use merging strategies to rebase. When the recursive (default) merge
344-
strategy is used, this allows rebase to be aware of renames on the
345-
upstream side. This is the default.
343+
Using merging strategies to rebase (default).
346344
+
347345
Note that a rebase merge works by replaying each commit from the working
348346
branch on top of the <upstream> branch. Because of this, when a merge

0 commit comments

Comments
 (0)