How does vscode do a 2-way diff?

197 Views Asked by At

In Why is a 3-way merge advantageous over a 2-way merge?, 3-way merge succeeds 2-way merge because it has a common ancestor as a base to compare, but how does vscode implement its diff algorithm even without this information and just compare the difference between 2 individual fils?

0

There are 0 best solutions below