@@ -240,7 +240,8 @@ from the RCS suite to present such a conflicted hunk, like this:
240240
241241------------
242242Here are lines that are either unchanged from the common
243- ancestor, or cleanly resolved because only one side changed.
243+ ancestor, or cleanly resolved because only one side changed,
244+ or cleanly resolved because both sides changed the same way.
244245<<<<<<< yours:sample.txt
245246Conflict resolution is hard;
246247let's go shopping.
@@ -261,16 +262,37 @@ side wants to say it is hard and you'd prefer to go shopping, while the
261262other side wants to claim it is easy.
262263
263264An alternative style can be used by setting the "merge.conflictStyle"
264- configuration variable to "diff3". In "diff3" style, the above conflict
265- may look like this:
265+ configuration variable to either "diff3" or "zdiff3" . In "diff3"
266+ style, the above conflict may look like this:
266267
267268------------
268269Here are lines that are either unchanged from the common
269- ancestor, or cleanly resolved because only one side changed.
270+ ancestor, or cleanly resolved because only one side changed,
270271<<<<<<< yours:sample.txt
272+ or cleanly resolved because both sides changed the same way.
271273Conflict resolution is hard;
272274let's go shopping.
273- |||||||
275+ ||||||| base:sample.txt
276+ or cleanly resolved because both sides changed identically.
277+ Conflict resolution is hard.
278+ =======
279+ or cleanly resolved because both sides changed the same way.
280+ Git makes conflict resolution easy.
281+ >>>>>>> theirs:sample.txt
282+ And here is another line that is cleanly resolved or unmodified.
283+ ------------
284+
285+ while in "zdiff3" style, it may look like this:
286+
287+ ------------
288+ Here are lines that are either unchanged from the common
289+ ancestor, or cleanly resolved because only one side changed,
290+ or cleanly resolved because both sides changed the same way.
291+ <<<<<<< yours:sample.txt
292+ Conflict resolution is hard;
293+ let's go shopping.
294+ ||||||| base:sample.txt
295+ or cleanly resolved because both sides changed identically.
274296Conflict resolution is hard.
275297=======
276298Git makes conflict resolution easy.
0 commit comments