[Bug 268800] New: Doesn't play well with file symlinks
Greg Grothaus
ggrothau at gmail.com
Fri Mar 18 05:53:26 CET 2011
https://bugs.kde.org/show_bug.cgi?id=268800
Summary: Doesn't play well with file symlinks
Product: kompare
Version: 4.0.0
Platform: Ubuntu Packages
OS/Version: Linux
Status: UNCONFIRMED
Severity: normal
Priority: NOR
Component: general
AssignedTo: kompare-devel at kde.org
ReportedBy: ggrothau at gmail.com
Version: 4.0.0 (using KDE 4.4.5)
OS: Linux
Diff a file which is a symlink, edit that file (such as applying changes), and
then save the file. Kompare will replace (delete, add) the file rather than
modify it, which deletes the symlink and adds a new real file. It would be
preferred if the destination of the symlink was updated and the symlink
preserved.
Reproducible: Always
Steps to Reproduce:
Diff a file which is a symlink, edit that file (such as applying changes), and
then save the file.
Actual Results:
Kompare will replace (delete, add) the file.
Expected Results:
Kompare will modify the file.
This is a bit of a corner case, but was encountered in the following scenario:
Kompare is used within a script to process a set of files produced by another
program (ie: git diff) but the user doesn't want to have kompare process all of
the unchanged files in the same subtree. That script can create a temporary
tree with just the changed files as symlinks for kompare to look at.
--
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the Kompare-devel
mailing list