New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Why do we have to subtract 1 from removed block line numbers #78

Closed
ArneBachmann opened this Issue Dec 14, 2017 · 1 comment

Comments

1 participant
@ArneBachmann
Owner

ArneBachmann commented Dec 14, 2017

No description provided.

@ArneBachmann

This comment has been minimized.

Owner

ArneBachmann commented Dec 14, 2017

Was previously, wrong, but subtracting 1 made the diff algo work fine: block replace a-b-c by a-c-c get's recognized wrong as -b -/+ c/c -> oder einfach nur replaces line number wrong! one too high. reduced line no by one, but don't know where it is coming from actually

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment