You can configure it to support it. Git supports configuring different diff programs for different file types. And there are tools to diff docx etc.
[1] https://stackoverflow.com/questions/23140240/git-how-do-i-ad...
add x y = x + y
left B: add z y = z + y
and right C: add x w = x + w
succeeds without a conflict?But the problem with that idea is that two different people explicitly made a change that looks meaningless. That tells us that we're evaluating "equivalent" incorrectly, which means we don't actually have any remaining justification for picking one over another, and the conflict is hopeless without further input.
add z w = z + w
My justification is that if you put each identifier on a separate line like this: fn add(
x: i32,
y: i32,
) -> i32 {
x
+
y
}
then as far as I know, Git would happily merge B and C into D.