Correct diff masking for historical descendants

This commit is contained in:
2026-10-09 13:22:40 +00:00
parent a4b5a6840a
commit 92025d65cb
5 changed files with 133 additions and 13 deletions

View File

@@ -61,9 +61,6 @@ func preparePairedDiffNodes(left, right *document.Node, path Path, sensitivity *
case document.Sequence:
return preparePairedDiffSequence(left, right, path, sensitivity)
default:
if sensitivity.hasStrictDescendant(path.String()) {
return pairedDiffSnapshot{requiresFallback: true}, true
}
return pairedDiffSnapshot{left: left, right: right}, true
}
}