File tree Expand file tree Collapse file tree 1 file changed +10
-0
lines changed Expand file tree Collapse file tree 1 file changed +10
-0
lines changed Original file line number Diff line number Diff line change 22
22
was written as a replacement for the previous default
23
23
algorithm, `recursive` .
24
24
+
25
+ In the case where the path is a submodule, if the submodule commit used on
26
+ one side of the merge is a descendant of the submodule commit used on the
27
+ other side of the merge, Git attempts to fast-forward to the
28
+ descendant. Otherwise, Git will treat this case as a conflict, suggesting
29
+ as a resolution a submodule commit that is descendant of the conflicting
30
+ ones, if one exists.
31
+ +
25
32
The 'ort' strategy can take the following options:
26
33
27
34
ours;;
@@ -96,6 +103,9 @@ recursive::
96
103
the default strategy for resolving two heads from Git v0.99.9k
97
104
until v2.33.0.
98
105
+
106
+ For a path that is a submodule, the same caution as 'ort' applies to this
107
+ strategy.
108
+ +
99
109
The 'recursive' strategy takes the same options as 'ort' . However,
100
110
there are three additional options that 'ort' ignores (not documented
101
111
above) that are potentially useful with the 'recursive' strategy:
You can’t perform that action at this time.
0 commit comments