Bug 184789

Summary: Diff is not minimal when prepending lines
Product: [Applications] kdiff3 Reporter: Thomas Fischer <fischer>
Component: kpartAssignee: michael <reeves.87>
Status: REPORTED ---    
Severity: normal    
Priority: NOR    
Version First Reported In: unspecified   
Target Milestone: ---   
Platform: Gentoo Packages   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

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!