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

[.rs] Suboptimal diff when replacing macro with negated if statement #649

Open
berrymot opened this issue Feb 23, 2024 · 0 comments
Open

Comments

@berrymot
Copy link

Thanks for reporting a bug! Please include all of the following:

(1) A description of the issue. A screenshot is often helpful too.

Output of git diff using difft:
image

VSCode's diff puts 139 at the end:
image

Github's:
image

(2) A copy of what you're diffing. If you're diffing files, include
the before and after files. If you're using difftastic with a VCS
repository (e.g. git), include the URL and commit hash.

lib.rs at berrymot/notoize@13575c2; hash 13575c20e635c703902ecc681ebcfdef954a7527

(3) The version of difftastic you're using (see difft --version) and
your operating system.

0.55.0; Windows 11. Also difft -v fails, as does the suggested difft -- -v:
image
image

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

1 participant