| Summary: | Kdiff3 inadequately shows line diff for files | ||
|---|---|---|---|
| Product: | [Applications] kdiff3 | Reporter: | Slaviro <slavon93> |
| Component: | application | Assignee: | michael <reeves.87> |
| Status: | CONFIRMED --- | ||
| Severity: | normal | ||
| Priority: | NOR | ||
| Version First Reported In: | 1.8.x | ||
| Target Milestone: | --- | ||
| Platform: | Gentoo Packages | ||
| OS: | Linux | ||
| Latest Commit: | Version Fixed/Implemented In: | ||
| Sentry Crash Report: | |||
| Bug Depends on: | 404477, 411885 | ||
| Bug Blocks: | |||
|
Description
Slaviro
2019-07-19 22:51:43 UTC
Git commit 2c8c09e06ff97ff171181674507590e28c8fd618 by Michael Reeves. Committed on 26/07/2019 at 22:00. Pushed by mreeves into branch 'master'. Fix text file diff not shown on comparison to empty/missing file. M +2 -2 src/SourceData.cpp M +1 -1 src/SourceData.h https://invent.kde.org/kde/kdiff3/commit/2c8c09e06ff97ff171181674507590e28c8fd618 Git commit b1b4cb830c4a8f5b01b8ca018a17edf4de162ca7 by Michael Reeves. Committed on 26/07/2019 at 21:56. Pushed by mreeves into branch '1.8'. Fix text file diff not shown on comparison to empty/missing file. M +2 -2 src/SourceData.cpp M +1 -1 src/SourceData.h https://invent.kde.org/kde/kdiff3/commit/b1b4cb830c4a8f5b01b8ca018a17edf4de162ca7 The first case now fixed as this was an unintended regression. I am not going to say that the second case will not be coming back. However I have concerns over how kdiff3's current comparison code behaves in this case. Anything beyond basic binary equality testing seems to assume its working with a text file of some kind. As a result binary data can trigger odd corner cases that text files don't hit. To avoid this kdiff3 currently does not run such code for binary files. I'll have to look into this further to see just what would be needed for binary comparison to come back. |