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

Inline diff is ignoring unchanged lines between hunks #704

Open
olivergondza opened this issue Apr 23, 2024 · 0 comments
Open

Inline diff is ignoring unchanged lines between hunks #704

olivergondza opened this issue Apr 23, 2024 · 0 comments

Comments

@olivergondza
Copy link

A description of the issue. A screenshot is often helpful too.

Inline diff (side-by-side works well) skips unchanged lines producing confusing diffs:

$ difft --display inline --context 5 before.txt after.txt

Screenshot from 2024-04-23 13-08-50

side-by-side is showing the try and finally lines ok:

$ difft --context 5 before.txt after.txt

Screenshot from 2024-04-23 13-09-04

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.

Using before.txt and after.txt.

Note those are groovy files (that difftastic handles as text). But even renamed to .java, the inline diff have same problem.

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

Difftastic 0.58.0 (f52ca70 2024-04-09, built with rustc 1.65.0)
Linux arch 6.8.4-arch1-1 #1 SMP PREEMPT_DYNAMIC Fri, 05 Apr 2024 00:14:23 +0000 x86_64 GNU/Linux

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