Bug 139212 - displays wrong destination filename when reading unified diffs
Summary: displays wrong destination filename when reading unified diffs
Status: RESOLVED FIXED
Alias: None
Product: kompare
Classification: Applications
Component: general (show other bugs)
Version: 3.4
Platform: unspecified Linux
: NOR normal
Target Milestone: ---
Assignee: Kompare developers
URL:
Keywords:
: 148325 (view as bug list)
Depends on:
Blocks:
 
Reported: 2006-12-25 17:51 UTC by Olivier Trichet
Modified: 2009-02-24 03:05 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
patch (851 bytes, patch)
2006-12-25 17:54 UTC, Olivier Trichet
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Olivier Trichet 2006-12-25 17:51:12 UTC
Version:           3.4 (using KDE 3.5.5, Debian Package 4:3.5.5a.dfsg.1-5 (4.0))
Compiler:          Target: i486-linux-gnu 

Imported from http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=358852

when reading unified diff files like the one below kompare gives the wrong destination 
file name.

--- empty.txt   2006-03-24 20:03:07.000000000 +0100
+++ text1.txt   2006-03-24 20:02:00.000000000 +0100
@@ -0,0 +1 @@
+just a little text

Instead of displaying text1.txt as destination file kompare gives empty.txt
Comment 1 Olivier Trichet 2006-12-25 17:54:16 UTC
Created attachment 19032 [details]
patch

Correct what seems like copy/paste mistake to get it right
Comment 2 Pino Toscano 2007-07-29 15:54:31 UTC
*** Bug 148325 has been marked as a duplicate of this bug. ***
Comment 3 Nick Warne 2007-07-29 16:30:52 UTC
Sorry, I missed this one when rasing my bug report.

I can confirm the patch from Olivier fixes it for me.

Thanks,

Nick
Comment 4 Otto Bruggeman 2009-02-24 02:23:05 UTC
SVN commit 930685 by bruggie:

BUG:139212 Yes copy and paste error...

 M  +2 -2      diffmodel.cpp  


WebSVN link: http://websvn.kde.org/?view=rev&revision=930685
Comment 5 Kevin Kofler 2009-02-24 03:05:38 UTC
SVN commit 930701 by kkofler:

Yes copy and paste error...
backport revision 930685 by bruggie from trunk
CCBUG: 139212

 M  +2 -2      diffmodel.cpp  


WebSVN link: http://websvn.kde.org/?view=rev&revision=930701