Bug 184789 - Diff is not minimal when prepending lines
Summary: Diff is not minimal when prepending lines
Status: REPORTED
Alias: None
Product: kdiff3
Classification: Applications
Component: kpart (other bugs)
Version First Reported In: unspecified
Platform: Gentoo Packages Linux
: NOR normal
Target Milestone: ---
Assignee: michael
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-02-18 15:13 UTC by Thomas Fischer
Modified: 2019-01-16 03:03 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Thomas Fischer 2009-02-18 15:13:39 UTC
Version:           0.9.94 (using KDE 4.2.0)
Compiler:          gcc (GCC) 4.2.4 (Gentoo 4.2.4-r1 p1.1) 
OS:                Linux
Installed from:    Gentoo Packages

KDiff3 (or its part) does not find minimal diffs when prepending lines before a text block which contains changes.

Example 1: Given two files, one with text
 abc def
and the other with text
 abc def!
Here, kdiff3 correctly detects the exclamation mark as the only difference between both files.

Example 2: The first file from above example is kept, but the second file was changed by prepending a new line of text
 123 456
 abc def!
Now KDiff3 thinks that the string "abc def" from the first file was modified to become "123 456" and a second line with the string "abc def!" was newly appended.

Above examples may look quite small, but they come into effect e.g. if two source files have to be merged where different parties have made changes and added new (comment) lines.
Comment 1 Andrew Crouthamel 2018-11-02 04:28:55 UTC
Dear Bug Submitter,

This bug has been stagnant for a long time. Could you help us out and re-test if the bug is valid in the latest version? I am setting the status to NEEDSINFO pending your response, please change the Status back to REPORTED when you respond.

Thank you for helping us make KDE software even better for everyone!
Comment 2 Andrew Crouthamel 2018-11-16 02:40:13 UTC
Dear Bug Submitter,

This is a reminder that this bug has been stagnant for a long time. Could you help us out and re-test if the bug is valid in the latest version?

Thank you for helping us make KDE software even better for everyone!