On Sun, Oct 15, 2017 at 10:38 PM, Junio C Hamano <gitster@xxxxxxxxx> wrote: > The -Xours/-Xtheirs merge options were originally defined as a way > to "force" the resolution of 3way textual merge conflicts to take > one side without using your editor, hence did not even trigger in > situations where you would normally not get the <<< === >>> conflict > markers. > > This was improved for binary files back in 2012 with a944af1d > ("merge: teach -Xours/-Xtheirs to binary ll-merge driver", > 2012-09-08). > > Teach a similar trick to the codepath that deals with merging two > conflicting changes to symbolic links. Saw this change referenced in the "what's cooking" emails and decided to review this. The code changes look obviously correct to me, and the testcase looks good too. Reviewed-by: Elijah Newren <newren@xxxxxxxxx> (and perhaps we should also add in "Tested-by: Yaroslav Halchenko <yoh@xxxxxxxxxxxxxx>" ? At least, that was my thought based on https://public-inbox.org/git/20170926133703.7gtk5ztkhqvfxszh@xxxxxxxxxxxxxxxxxxxxxxxxx/ )