Skip to content

Commit aabae1c

Browse files
newrenderrickstolee
authored andcommitted
Documentation: edit awkward references to git merge-recursive
A few places in the documentation referred to the "`recursive` strategy" using the phrase "`git merge-recursive`", suggesting that it was forking subprocesses to call a toplevel builtin. Perhaps that was relevant to when rebase was a shell script, but it seems like a rather indirect way to refer to the `recursive` strategy. Simplify the references. Signed-off-by: Elijah Newren <[email protected]>
1 parent eb3b25e commit aabae1c

File tree

3 files changed

+9
-9
lines changed

3 files changed

+9
-9
lines changed

Documentation/git-rebase.txt

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -354,9 +354,8 @@ See also INCOMPATIBLE OPTIONS below.
354354

355355
-s <strategy>::
356356
--strategy=<strategy>::
357-
Use the given merge strategy.
358-
If there is no `-s` option 'git merge-recursive' is used
359-
instead. This implies --merge.
357+
Use the given merge strategy, instead of the default
358+
`recursive`. This implies `--merge`.
360359
+
361360
Because 'git rebase' replays each commit from the working branch
362361
on top of the <upstream> branch using the given strategy, using

Documentation/merge-options.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -112,8 +112,8 @@ With --squash, --commit is not allowed, and will fail.
112112
Use the given merge strategy; can be supplied more than
113113
once to specify them in the order they should be tried.
114114
If there is no `-s` option, a built-in list of strategies
115-
is used instead ('git merge-recursive' when merging a single
116-
head, 'git merge-octopus' otherwise).
115+
is used instead (`recursive` when merging a single head,
116+
`octopus` otherwise).
117117

118118
-X <option>::
119119
--strategy-option=<option>::

Documentation/merge-strategies.txt

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -51,10 +51,11 @@ patience;;
5151
See also linkgit:git-diff[1] `--patience`.
5252

5353
diff-algorithm=[patience|minimal|histogram|myers];;
54-
Tells 'merge-recursive' to use a different diff algorithm, which
55-
can help avoid mismerges that occur due to unimportant matching
56-
lines (such as braces from distinct functions). See also
57-
linkgit:git-diff[1] `--diff-algorithm`.
54+
Use a different diff algorithm while merging, which can help
55+
avoid mismerges that occur due to unimportant matching lines
56+
(such as braces from distinct functions). See also
57+
linkgit:git-diff[1] `--diff-algorithm`. Defaults to the
58+
`diff.algorithm` config setting.
5859

5960
ignore-space-change;;
6061
ignore-all-space;;

0 commit comments

Comments
 (0)