Skip to content
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

can we detect moved lines? #69

Open
cakmaksevgi opened this issue Dec 19, 2020 · 2 comments
Open

can we detect moved lines? #69

cakmaksevgi opened this issue Dec 19, 2020 · 2 comments

Comments

@cakmaksevgi
Copy link

cakmaksevgi commented Dec 19, 2020

We know deleted, inserted, and modified lines for now. Is there any way to understand moved lines also?

like notepad++ compare plugin

@berkslv
Copy link

berkslv commented Dec 19, 2020

maybe this source will helps you.
https://dev.to/cloudx/how-to-color-the-moved-code-in-git-10ei

@cakmaksevgi
Copy link
Author

cakmaksevgi commented Dec 19, 2020

I generate diff HTML like this library textdiff . BlazorTexdiff uses diffplex as well. I want to show moved lines as blue for example.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants