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

Feature request: showing moved lines differently #28

Open
gnutix opened this issue Aug 20, 2021 · 2 comments
Open

Feature request: showing moved lines differently #28

gnutix opened this issue Aug 20, 2021 · 2 comments

Comments

@gnutix
Copy link

gnutix commented Aug 20, 2021

One thing I (and others) find sad about GitHub's diff is that it doesn't show succintly moved lines (it shows one line removed, one line added...). I was wondering if this project could improve that when using git diff locally ? WDYT ?

@banga
Copy link
Owner

banga commented Sep 4, 2021

Yes this is something Phabricator does much better. I think modifying the diff algorithm itself requires more information than we have in this tool (since it's just parsing the output of git diff), so it'll be hard to incorporate something like that here. I know there is git diff --color-moved, but it doesn't format the diff differently for moved lines, so that information gets lost.

@chtenb
Copy link

chtenb commented Sep 24, 2021

Could we perhaps interpret the color bytes somehow?

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

3 participants