@@ -1267,58 +1267,42 @@ <h2 id="_merge_strategies">MERGE STRATEGIES</h2>
12671267configuration variable.
12681268See also < a href ="git-diff.html "> git-diff(1)</ a > < code > --no-renames</ code > .</ p >
12691269</ dd >
1270- < dt class ="hdlist1 "> subtree[=<path>] </ dt >
1270+ < dt class ="hdlist1 "> histogram </ dt >
12711271< dd >
1272- < p > This option is a more advanced form of < em > subtree</ em > strategy, where
1273- the strategy makes a guess on how two trees must be shifted to
1274- match with each other when merging. Instead, the specified path
1275- is prefixed (or stripped from the beginning) to make the shape of
1276- two trees to match.</ p >
1272+ < p > Deprecated synonym for < code > diff-algorithm=histogram</ code > .</ p >
12771273</ dd >
1278- </ dl >
1279- </ div >
1280- </ dd >
1281- < dt class ="hdlist1 "> recursive</ dt >
1282- < dd >
1283- < p > This can only resolve two heads using a 3-way merge
1284- algorithm. When there is more than one common
1285- ancestor that can be used for 3-way merge, it creates a
1286- merged tree of the common ancestors and uses that as
1287- the reference tree for the 3-way merge. This has been
1288- reported to result in fewer merge conflicts without
1289- causing mismerges by tests done on actual merge commits
1290- taken from Linux 2.6 kernel development history.
1291- Additionally this can detect and handle merges involving
1292- renames. It does not make use of detected copies. This was
1293- the default strategy for resolving two heads from Git v0.99.9k
1294- until v2.33.0.</ p >
1295- < div class ="paragraph ">
1296- < p > For a path that is a submodule, the same caution as < em > ort</ em > applies to this
1297- strategy.</ p >
1298- </ div >
1299- < div class ="paragraph ">
1300- < p > The < em > recursive</ em > strategy takes the same options as < em > ort</ em > . However,
1301- there are two additional options that < em > ort</ em > ignores (not documented
1302- above) that are potentially useful with the < em > recursive</ em > strategy:</ p >
1303- </ div >
1304- < div class ="dlist ">
1305- < dl >
13061274< dt class ="hdlist1 "> patience</ dt >
13071275< dd >
13081276< p > Deprecated synonym for < code > diff-algorithm=patience</ code > .</ p >
13091277</ dd >
1310- < dt class ="hdlist1 "> diff-algorithm=[patience |minimal|histogram| myers]</ dt >
1278+ < dt class ="hdlist1 "> diff-algorithm=[histogram |minimal|myers|patience ]</ dt >
13111279< dd >
13121280< p > Use a different diff algorithm while merging, which can help
13131281avoid mismerges that occur due to unimportant matching lines
13141282(such as braces from distinct functions). See also
13151283< a href ="git-diff.html "> git-diff(1)</ a > < code > --diff-algorithm</ code > . Note that < code > ort</ code >
1316- specifically uses < code > diff-algorithm=histogram</ code > , while < code > recursive</ code >
1317- defaults to the < code > diff.algorithm</ code > config setting.</ p >
1284+ defaults to < code > diff-algorithm=histogram</ code > , while regular diffs
1285+ currently default to the < code > diff.algorithm</ code > config setting.</ p >
1286+ </ dd >
1287+ < dt class ="hdlist1 "> subtree[=<path>]</ dt >
1288+ < dd >
1289+ < p > This option is a more advanced form of < em > subtree</ em > strategy, where
1290+ the strategy makes a guess on how two trees must be shifted to
1291+ match with each other when merging. Instead, the specified path
1292+ is prefixed (or stripped from the beginning) to make the shape of
1293+ two trees to match.</ p >
13181294</ dd >
13191295</ dl >
13201296</ div >
13211297</ dd >
1298+ < dt class ="hdlist1 "> recursive</ dt >
1299+ < dd >
1300+ < p > This is now a synonym for < code > ort</ code > . It was an alternative
1301+ implementation until v2.49.0, but was redirected to mean < code > ort</ code >
1302+ in v2.50.0. The previous recursive strategy was the default
1303+ strategy for resolving two heads from Git v0.99.9k until
1304+ v2.33.0.</ p >
1305+ </ dd >
13221306< dt class ="hdlist1 "> resolve</ dt >
13231307< dd >
13241308< p > This can only resolve two heads (i.e. the current branch
@@ -1341,7 +1325,7 @@ <h2 id="_merge_strategies">MERGE STRATEGIES</h2>
13411325ignoring all changes from all other branches. It is meant to
13421326be used to supersede old development history of side
13431327branches. Note that this is different from the -Xours option to
1344- the < em > recursive </ em > merge strategy.</ p >
1328+ the < em > ort </ em > merge strategy.</ p >
13451329</ dd >
13461330< dt class ="hdlist1 "> subtree</ dt >
13471331< dd >
@@ -1718,7 +1702,7 @@ <h2 id="_git">GIT</h2>
17181702</ div >
17191703< div id ="footer ">
17201704< div id ="footer-text ">
1721- Last updated 2025-02-15 14 :38:14 +0900
1705+ Last updated 2025-02-14 21 :38:14 -0800
17221706</ div >
17231707</ div >
17241708</ body >
0 commit comments