Skip to content

Commit 6d75e85

Browse files
newrenderrickstolee
authored andcommitted
merge-strategies.txt: update wording for the resolve strategy
It is probably helpful to cover the default merge strategy first, so move the text for the resolve strategy to later in the document. Further, the wording for "resolve" claimed that it was "considered generally safe and fast", which might imply in some readers minds that the same is not true of other strategies. Rather than adding this text to all the strategies, just remove it from this one. Signed-off-by: Elijah Newren <[email protected]>
1 parent aabae1c commit 6d75e85

File tree

1 file changed

+6
-7
lines changed

1 file changed

+6
-7
lines changed

Documentation/merge-strategies.txt

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -6,13 +6,6 @@ backend 'merge strategies' to be chosen with `-s` option. Some strategies
66
can also take their own options, which can be passed by giving `-X<option>`
77
arguments to `git merge` and/or `git pull`.
88

9-
resolve::
10-
This can only resolve two heads (i.e. the current branch
11-
and another branch you pulled from) using a 3-way merge
12-
algorithm. It tries to carefully detect criss-cross
13-
merge ambiguities and is considered generally safe and
14-
fast.
15-
169
recursive::
1710
This can only resolve two heads using a 3-way merge
1811
algorithm. When there is more than one common
@@ -106,6 +99,12 @@ subtree[=<path>];;
10699
is prefixed (or stripped from the beginning) to make the shape of
107100
two trees to match.
108101

102+
resolve::
103+
This can only resolve two heads (i.e. the current branch
104+
and another branch you pulled from) using a 3-way merge
105+
algorithm. It tries to carefully detect criss-cross
106+
merge ambiguities. It does not handle renames.
107+
109108
octopus::
110109
This resolves cases with more than two heads, but refuses to do
111110
a complex merge that needs manual resolution. It is

0 commit comments

Comments
 (0)