delta icon indicating copy to clipboard operation
delta copied to clipboard

🐛 Position more pairs of lines "opposite" each other in side-by-side view

Open dandavison opened this issue 4 years ago • 0 comments

I'm thinking that we should make more effort to position certain pairs of lines at the same level, where that makes sense -- the first hunk here would be an example. Would you agree @th1000s?

image

In terms of the current implementation, IIRC the issue is that a and b are not recognized as "homologs" because they are not deemed similar, according to a distance metric which is basically edit distance divided by length of longer string.

dandavison avatar Dec 07 '21 03:12 dandavison