[Bug 116637] New: "Could not parse diff output" when timestamps are missing (timestamps are optional)

Eyal Lotem eyal.lotem at gmail.com
Fri Nov 18 18:08:24 CET 2005


------- 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=116637         
           Summary: "Could not parse diff output" when timestamps are
                    missing (timestamps are optional)
           Product: kompare
           Version: 3.4.1
          Platform: unspecified
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: general
        AssignedTo: kompare-devel kde org
        ReportedBy: eyal.lotem gmail com


Version:           3.4.1 (using KDE 3.4.3, Kubuntu Package 4:3.4.3-0ubuntu1 )
Compiler:          Target: i486-linux-gnu
OS:                Linux (i686) release 2.6.12-9-386

In diff outputs, the timestamp does not always appear.

When the --label is used to replace the filename with an arbitrary label, no timestamp is displayed in the diff line.

kompare should probably treat the timestamps as optional, so as to not fail on diff outputs when --label was used.  Example:

$ diff --label a afile --label b bfile -u
--- a
+++ b
 @ -1,30 +1,533  @
...<more output>...

kompare is unwilling to parse the "---" and "+++" lines when they don't contain timestamps.


More information about the Kompare-devel mailing list