Version: 3.4 (using KDE 4.0.4) Installed from: Fedora RPMs OS: Linux When comparing two directories, files which appear in only one of the directories are treated as 'present as empty' in the other directory (diff option: -N, --new-file). This behaviour is annoying and it actually gives wrong information. If a file's only present in one of the directories, it is better shown as 'only in <dir>'.
Confirming as a valid wish.
@Kevin Will the option make it in the 4.2 version? I'm not a KDE programmer, but I'll see if I can work out a code draft for this (not very soon, though). And, since the current scheme gives wrong information (the presence of a bogus blank file), I'd rather call this a bug than a wish. Thanks..
I really don't see how this is a bug, it's just a missing feature. In any case, this is not implemented in 4.2 trunk yet, and we're already in soft feature freeze and soon in hard feature freeze, so I don't think it will make 4.2 even if you write the patch now (unless you can convince the release team that it is a bug).
I 'called' it a bug because for a user who doesn't check the directory contents first, it'll look like a blank file is present in a directory. We use (and love) WinMerge a lot in office, and we are moving towards Linux and kompare is kind of one of the killer apps. Thanks for the support.
SVN commit 938468 by bruggie: GUI FEATURE BUG: 171705 The -N option is now configurable on the Diff -> Options tab in the settings. BUG: 162949 Same here, look for this option. This feature was already implemented but without a GUI item to represent it, that is why the patch is so small. M +8 -0 diffpage.cpp M +1 -0 diffpage.h WebSVN link: http://websvn.kde.org/?view=rev&revision=938468
Thanks a lot..
Apologies for not testing this earlier. Testing with Kompare v4.1.3 (on KDE Development Platform 4.14.9). If 'Treat new files as empty' option is disabled, then files missing from one directory are simply not displayed in the 'changed files list'. This is worse than the original. This gives an impression that those files have not changed. Files present in only one directory should be marked as such in the changes list. Perhaps a "<deleted>" or similar text in the file list will do.