[Bug 141747] New: New files in a patch are not displayed, only the changed files

Jim Peters kdebugs at uazu.net
Thu Feb 15 18:23:52 CET 2007


------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
         
http://bugs.kde.org/show_bug.cgi?id=141747         
           Summary: New files in a patch are not displayed, only the changed
                    files
           Product: kompare
           Version: unspecified
          Platform: RedHat RPMs
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: general
        AssignedTo: kompare-devel kde org
        ReportedBy: kdebugs uazu net


Version:            (using KDE KDE 3.5.5)
Installed from:    RedHat RPMs

Running kompare on two directories, it correctly displays both changed and new files (i.e. a file missing in one tree and present in the other).  However, if a patch generated with a recursive diff (e.g. 'diff -r -u') and passed to kompare, then only the changed files are displayed, not the new files.  Viewing the patch file with less, the contents of the new files are very clearly present.  For some reason kompare is skipping over those parts of the patch file and not displaying them.

This means that kompare can be used to view the changes in an arbitrary patch file, but the user has to then read the patch file once again with something else (e.g. less), to be sure not to miss any sections that create new files (i.e. that didn't exist previously).

It would be better if kompare displayed all parts of the patch file.


More information about the Kompare-devel mailing list